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 |
Felix Fietkau
|
efdfa39932
implement digest support
|
10 years ago |
Felix Fietkau
|
5f2e609729
pass the initial / from uclient core to the proto handler
|
10 years ago |
Felix Fietkau
|
7401d5c110
add utilities for calculating http digest hashes
|
10 years ago |
Felix Fietkau
|
134709fa39
preserve the contents of the www-authenticate header and use them to detect authentication mode
|
10 years ago |
Felix Fietkau
|
385651080c
fix double / on requests to root
|
10 years ago |
Felix Fietkau
|
7e4054d4db
add support for processing the content-length header when transfer is not chunked
|
10 years ago |
Felix Fietkau
|
05df41f861
add support for reusing connections
|
10 years ago |
Felix Fietkau
|
66b4e50351
set eof on HEAD requests after header end
|
10 years ago |
Felix Fietkau
|
c62d6b1e6a
remove debug code
|
10 years ago |
Felix Fietkau
|
32f153a8db
example: use stdout instead of stderr
|
10 years ago |
Felix Fietkau
|
1ba29352a6
add support for parsing chunked data on read
|
10 years ago |
Felix Fietkau
|
9099aff296
use chunked data for POST, set HTTP version to 1.1
|
10 years ago |
Felix Fietkau
|
c280d54e1b
Initial import
|
10 years ago |