Felix Fietkau
|
fe0f1a3610
uclient-http: use blocking connect, switch to non-blocking later. fixes ipv6 -> ipv4 fallback
|
8 years ago |
Felix Fietkau
|
cabb2e2641
http: detect connect failure
|
8 years ago |
Felix Fietkau
|
149f5dc44b
http: add proxy support
|
8 years ago |
Felix Fietkau
|
057a89885b
http: allow the header_done callback to reset the client state
|
8 years ago |
Felix Fietkau
|
b80dc60352
http: get remote address from usock instead of using getpeername
|
8 years ago |
Alexander Couzens
|
4edb1426ce
uclient-fetch: set server_name of the ssl context to support SNI
|
9 years ago |
Felix Fietkau
|
81fdb8fdf1
uclient-http: end custom header lines with CRLF
|
9 years ago |
Felix Fietkau
|
d2d1a9c477
uclient-http: allow .header_done() callback to reset the connection
|
9 years ago |
Rafał Miłecki
|
19c7fb01ad
allow sending requests with DELETE method
|
9 years ago |
Rafał Miłecki
|
8d8c2e64db
use const for char buffer in uclient_write
|
9 years ago |
Rafał Miłecki
|
6c222d0646
support for connection timeout
|
10 years ago |
Felix Fietkau
|
71ca932167
http: fix processing of digest auth parameters
|
10 years ago |
Felix Fietkau
|
57a1dda8f3
http: terminate old connection in uclient_http_connect after incomplete request processing
|
10 years ago |
Felix Fietkau
|
b63202344b
http: do not call uclient_http_disconnect from uclient_notify_eof directly
|
10 years ago |
Jo-Philipp Wich
|
754ca1bbb0
uclient-http: only invoke data_sent callback if it is provided
|
10 years ago |
Felix Fietkau
|
80e135d972
http: ignore empty lines before HTTP response
|
10 years ago |
Luka Perkov
|
0fa104b604
http: implement data_sent write callback
|
10 years ago |
Felix Fietkau
|
e1ed2c2250
http: rework authentication handling - only retry internally for GET requests
|
10 years ago |
Felix Fietkau
|
9ceca0a121
fetch: indicate an error if the connection was terminated prematurely
|
10 years ago |
Luka Perkov
|
698af46788
add support for PUT requests
|
10 years ago |
Felix Fietkau
|
29c798a529
add uclient_disconnect() to force a disconnect without further callbacks
|
10 years ago |
Felix Fietkau
|
3ddb765bd5
http: make ustream_ssl optional, only use provided ssl context
|
10 years ago |
Felix Fietkau
|
63a984dbdf
http: get address at initial connect time
|
10 years ago |
Felix Fietkau
|
cb7867a867
add support for querying local/remote address
|
10 years ago |
Felix Fietkau
|
316bcc8c62
ignore empty writes
|
10 years ago |
Felix Fietkau
|
1c94253d37
add support for 204 (no content)
|
10 years ago |
Felix Fietkau
|
8fbe2716f5
fix arguments to uclient_http_reset_headers
|
10 years ago |
Felix Fietkau
|
760cd6fe53
avoid sending duplicate headers
|
10 years ago |
Felix Fietkau
|
3771a9369a
properly terminate POST requests
|
10 years ago |
Felix Fietkau
|
299b1af9c0
add copyright headers
|
10 years ago |