yhirose
|
15a23abd7e
Clarify the MAP_FAILED guard comment and assert the cleared size
|
1 viikko sitten |
yhirose
|
2e37c51921
Merge branch 'mmap-map-failed-guard' of github.com:metsw24-max/cpp-httplib into metsw24-max-mmap-map-failed-guard
|
1 viikko sitten |
yhirose
|
5539a66c63
Cover the non-206 Range paths and drop the duplicated test route
|
1 viikko sitten |
yhirose
|
6b723fbf9d
Merge branch 'range-206-only' of github.com:metsw24-max/cpp-httplib into metsw24-max-range-206-only
|
1 viikko sitten |
yhirose
|
1562f0ec4f
Pass unrecognized Content-Encoding values through instead of failing (#2518)
|
1 viikko sitten |
yhirose
|
a691e531c3
Close the listening socket in stop() even when not serving (#2517)
|
1 viikko sitten |
yhirose
|
ae8356d86e
Clean up addr_map hostname support
|
1 viikko sitten |
Kim, Hyuk
|
49b921b52d
Allow addr_map_ values to be hostnames, not just IP literals (#2515)
|
1 viikko sitten |
yhirose
|
447b9c4a29
Buffer the WebSocket handshake before writing it to the socket
|
1 viikko sitten |
hyuk.kim
|
2c28d2fa3e
websocket: rebuild handshake on Request/header pipeline
|
1 viikko sitten |
Sayed Kaif
|
f4fce42e77
fail mmap::open when ::mmap returns MAP_FAILED
|
1 viikko sitten |
Sayed Kaif
|
23fef15e07
apply Range only to a 206 response in write_content_with_provider
|
1 viikko sitten |
yhirose
|
5b9d1495ff
Apply path encoding to open_stream()
|
2 viikkoa sitten |
yhirose
|
2fa0417754
Fix mbedTLS is_peer_closed() destroying the first response byte
|
2 viikkoa sitten |
yhirose
|
f7c8455a62
Log res.error() on all ServerTest ASSERT_TRUE(res) assertions
|
2 viikkoa sitten |
Sayed Kaif
|
695961f8ae
skip invalid fields in write_headers to prevent response splitting
|
2 viikkoa sitten |
yhirose
|
c64bf21a5e
Merge pull request #2504 from emreay-/skip-drain-on-closing-connection
|
2 viikkoa sitten |
Emre Ay
|
8bbfc90380
Apply clang-format to test.cc and httplib.h
|
2 viikkoa sitten |
yhirose
|
bf8baf0739
clang-format
|
2 viikkoa sitten |
yhirose
|
fd0c18b1b5
Validate connecting peer before honoring X-Forwarded-For
|
2 viikkoa sitten |
yhirose
|
bbd56a7e2c
Merge pull request #2497 from superm1/superm1/SWSPLAT-23636
|
2 viikkoa sitten |
yhirose
|
54b3c1d072
Add Mbed TLS 4.x support (PSA Crypto) (#2502)
|
2 viikkoa sitten |
metsw24-max
|
6c4cbd49a2
scan X-Forwarded-For right-to-left in get_client_ip (#2503)
|
2 viikkoa sitten |
Emre Ay
|
f3e9a4d887
Skip request body drain when connection will close
|
2 viikkoa sitten |
Mario Limonciello
|
877a52f6b3
Limit the number of header lines per multipart form-data part
|
3 viikkoa sitten |
yhirose
|
3adc525cec
Use detail::from_chars for out-of-range Content-Length check
|
3 viikkoa sitten |
Sayed Kaif
|
a415362dff
update OpenStreamMalformedContentLength.OutOfRange for stricter parsing
|
4 viikkoa sitten |
Sayed Kaif
|
982235c0a9
flag out-of-range Content-Length in get_header_value_u64
|
4 viikkoa sitten |
yhirose
|
255c075b82
Reject CR/LF in the request target and fail the request cleanly (#2501)
|
3 viikkoa sitten |
yhirose
|
75938f08c7
Match chunked as the final transfer coding, order-independently (#2500)
|
3 viikkoa sitten |