Daniel Danzberger
|
fef6d3d311
uclient: Add string error function
|
5 years ago |
Felix Fietkau
|
f50a654323
http: add support for specifying ipv4/ipv6 preference
|
8 years ago |
Felix Fietkau
|
4924411cff
http: add proper error handling to uclient_http_redirect()
|
8 years ago |
Felix Fietkau
|
2c1cb6dcec
core: add proxy support
|
8 years ago |
Felix Fietkau
|
057a89885b
http: allow the header_done callback to reset the client state
|
8 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
|
9 years ago |
Felix Fietkau
|
9ceca0a121
fetch: indicate an error if the connection was terminated prematurely
|
10 years ago |
Felix Fietkau
|
29c798a529
add uclient_disconnect() to force a disconnect without further callbacks
|
10 years ago |
Felix Fietkau
|
c2bfab5a8c
expose struct uclient_url
|
10 years ago |
Felix Fietkau
|
3ddb765bd5
http: make ustream_ssl optional, only use provided ssl context
|
10 years ago |
Felix Fietkau
|
cb7867a867
add support for querying local/remote address
|
10 years ago |
Felix Fietkau
|
8fbe2716f5
fix arguments to uclient_http_reset_headers
|
10 years ago |
Felix Fietkau
|
438ebb9ce2
add support for passing in auth to uclient_set_url()
|
10 years ago |
Felix Fietkau
|
2b80c26890
split setting url from connecting
|
10 years ago |
Felix Fietkau
|
4a3a8cb176
pass auth_str to uclient_new()
|
10 years ago |
Felix Fietkau
|
299b1af9c0
add copyright headers
|
10 years ago |
Felix Fietkau
|
25e44fc1e6
implement optional SSL certificate validation (including CN host check)
|
10 years ago |
Felix Fietkau
|
5be2b92aec
add support for passing in an external ustream_ssl context
|
10 years ago |
Felix Fietkau
|
f619ebe9d3
add a utility function to detect redirects and handle them
|
10 years ago |
Felix Fietkau
|
95fa603638
make uclient_backend_http visible to allow the client to test for it
|
10 years ago |
Felix Fietkau
|
c280d54e1b
Initial import
|
10 years ago |