NanashiNoGombe
|
e3efd3cc3c
static
|
2 vuotta sitten |
NanashiNoGombe
|
2f52c46ef5
shared function for chunked body reading
|
2 vuotta sitten |
NanashiNoGombe
|
88d318b303
do not use default user-agent for API unless it begins with Monazilla/
|
2 vuotta sitten |
NanashiNoGombe
|
af8d54cbc5
preliminary support for API overriding
|
2 vuotta sitten |
NanashiNoGombe
|
da644aef17
header inclusion order
|
2 vuotta sitten |
NanashiNoGombe
|
5de98beaa7
decrease notBefore in server certificates by 10 minutes for safety
|
2 vuotta sitten |
NanashiNoGombe
|
090f38e293
wait for a while before closing a socket entirely
|
2 vuotta sitten |
NanashiNoGombe
|
e441fe9f73
NUM_THREADS_DEFAULT macro
|
2 vuotta sitten |
NanashiNoGombe
|
fd8e66dad1
use default user agent for API requests when --api-*-ua is not specified
|
2 vuotta sitten |
NanashiNoGombe
|
404a67058e
refactor datProxyAPI
|
2 vuotta sitten |
NanashiNoGombe
|
e53462d5e5
refactor header callbacks
|
2 vuotta sitten |
NanashiNoGombe
|
7ee84c4b73
parse request headers in a parent function
|
2 vuotta sitten |
NanashiNoGombe
|
58f14c5231
ignore SIGPIPE on main thread and block it on all other threads - this should be the best practice
|
2 vuotta sitten |
NanashiNoGombe
|
fc4948db79
Bump version
|
2 vuotta sitten |
NanashiNoGombe
|
3242dfdd3c
stop using pthread_sigmask and revert to signal because it doesn't prevent SIGPIPE on macOS
|
2 vuotta sitten |
NanashiNoGombe
|
4c1d5f7b4e
README
|
2 vuotta sitten |
NanashiNoGombe
|
2c068e16a2
Bump version
|
2 vuotta sitten |
NanashiNoGombe
|
e407267ef7
touch http 1.0 flag explicitly for MITM usage
|
2 vuotta sitten |
NanashiNoGombe
|
f6d5a8d76b
listen on main thread
|
2 vuotta sitten |
NanashiNoGombe
|
728d0e24fe
use pthread_sigmask for signal masking
|
2 vuotta sitten |
NanashiNoGombe
|
1d540bfe10
use poll instead of select on non-windows environments
|
2 vuotta sitten |
NanashiNoGombe
|
107105baae
--num-threads option
|
2 vuotta sitten |
NanashiNoGombe
|
6d40aa9bde
do not reuse https connections on curl < 7.80.0, and add some macros to control the behavior
|
2 vuotta sitten |
NanashiNoGombe
|
c98bc4449e
always use https for api server
|
2 vuotta sitten |
NanashiNoGombe
|
aa9e113be2
note about curl handle reusing and memory usage
|
2 vuotta sitten |
NanashiNoGombe
|
d765b85e83
do not return chunked response for HTTP1.0 clients
|
2 vuotta sitten |
NanashiNoGombe
|
71290c5460
mistake
|
2 vuotta sitten |
NanashiNoGombe
|
093841df06
explicitly use HTTP1.1 for curl connections to avoid using http2 and utilize keep-alive as much as possible
|
2 vuotta sitten |
NanashiNoGombe
|
17a86ee9f1
reuse curl handle between connections
|
2 vuotta sitten |
NanashiNoGombe
|
0fcc62ff72
introduce a thread pool
|
2 vuotta sitten |