Felix Fietkau
|
c2bfab5a8c
expose struct uclient_url
|
10 years ago |
Felix Fietkau
|
70a591290e
example: change -c to --ca-certificate to match wget
|
10 years ago |
Felix Fietkau
|
fd6ab91eeb
example: change -C to --no-check-certificate to match wget
|
10 years ago |
Felix Fietkau
|
bd38e778dc
example: make ustream-ssl optional (load via dlopen)
|
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
|
dead014a7f
fix specifying ports in urls
|
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
|
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
|
8bbe213089
fix prefix id passing
|
10 years ago |
Felix Fietkau
|
7e7fe90883
fix connect error handling
|
10 years ago |
Felix Fietkau
|
5be2b92aec
add support for passing in an external ustream_ssl context
|
10 years ago |
Felix Fietkau
|
5e0b24f3a9
move nc to struct uclient_http
|
10 years ago |
Felix Fietkau
|
836aaddaf0
move ssl_ctx to struct uclient_http
|
10 years ago |
Felix Fietkau
|
99e8d306d0
fix positioning of the __hidden attribute
|
10 years ago |
Felix Fietkau
|
8102f4c0c3
use the redirect function in the example code
|
10 years ago |
Felix Fietkau
|
f619ebe9d3
add a utility function to detect redirects and handle them
|
10 years ago |
Felix Fietkau
|
0e5604d1d1
add missing prototype for uclient_backend_set_error
|
10 years ago |
Felix Fietkau
|
95fa603638
make uclient_backend_http visible to allow the client to test for it
|
10 years ago |
Felix Fietkau
|
dbd61a7a6d
parse the http response code
|
10 years ago |
Felix Fietkau
|
6ee437e845
check for length > 0 before calling ustream_write
|
10 years ago |