1
0
mirror of synced 2025-04-21 22:25:55 +03:00

437 Commits

Author SHA1 Message Date
yhirose
8483e5931f Fix #136 2019-03-28 19:56:32 -04:00
Yuji Hirose
96cacd24f9 Fixed #134 2019-03-12 08:49:08 -04:00
yhirose
3a3b02e2e5 Added Base Authentication test 2019-02-14 22:51:17 -05:00
Yuji Hirose
d3eb88b740 Fix #126 2019-02-13 08:14:58 -05:00
yhirose
b5927aec12 fix #116 2018-12-17 21:07:38 -05:00
yhirose
86b3dfc480 fix #110 2018-11-30 21:18:35 -05:00
yhirose
76ea8dd560 Added LongQueryValue test 2018-11-14 17:35:27 -05:00
yhirose
49c82c9c50 Fix #97. (Thanks to DJm00n.) 2018-10-28 16:15:22 +09:00
yhirose
4d7cee81eb Fix #95 2018-09-23 12:02:17 -04:00
Yuji Hirose
28d17448b7 Revert test.vcproj.
This reverts commit cc983be31f079f7d5f46fec1d2e1cf787196ad50.
2018-09-14 15:58:16 -04:00
Thomas Tissot
82fc7d5591 Request cancelation feature
This commit modifies the signature of the `Progress` callback
so that its return value will indicate whether the request shall
continue to be processed by returning `true`, or if it shall
be aborted by returning `false`. Such modification will allow
one to cancel an ongoing request before it has completed.

When migrating, developers should modify there `Progress`
callbacks to always return `true` by default in case there
do not want to benefit from the cancelation feature.

A few unit tests use cases were provided, but anyone should feel
free to provide additional uses cases that they find relevant.
2018-08-06 11:54:52 +02:00
yhirose
cc983be31f Removed unused build projects 2018-08-02 22:31:36 -04:00
David Guillen Fandos
dae4124039 Implementing streaming Responses
This enables a much easier handling of big queries after all.
2018-08-01 23:53:01 +02:00
David Guillen Fandos
ca343ae1d8 Fix small issues in tests and added some extra checks. 2018-07-31 22:08:38 +02:00
yhirose
85a30e73a5 Fixed -lpthread linker option position 2018-06-14 15:30:55 +00:00
yhirose
2bb27aa25d Fix #74 2018-06-01 23:05:32 -04:00
yhirose
5b3187e2f9 Fix #72 2018-05-31 22:17:23 -04:00
yhirose
7b9d752583 Fixed problem with connection close 2018-05-14 00:05:14 -04:00
yhirose
312a8d7523 Removed HTTP version. It's now always 'HTTP/1.1'. 2018-05-13 19:18:25 -04:00
yhirose
6c5d0b2a18 Fix #57 and #62 2018-05-08 21:51:41 -04:00
yhirose
6aa3fd6b59 Fix #38 2018-04-20 09:59:19 -04:00
yhirose
5574d82eb3 Made a temporary fix for OpenSSL thread problem 2018-04-20 00:17:51 -04:00
Scott Graham
889041f05f Don't fail chunked read if buffer not yet filled 2018-04-17 22:05:38 -07:00
yhirose
b6df220b55 Fixed #48 2018-04-17 13:10:05 -04:00
yhirose
7d6df0c651 Fixed toolset setting 2018-04-17 13:10:05 -04:00
yhirose
bc051219f9 Removed is_handling_requests 2018-04-17 13:10:05 -04:00
Scott Graham
ca3613cd21 Make 'chunked' in Transfer-Encoding case-insensitive 2018-04-16 21:43:41 -07:00
yhirose
9dc4e23082 Unit test for #52 2018-04-17 00:05:05 -04:00
yhirose
ebe40a7d94
Merge pull request #50 from sgraham/body-decompress
Support Content-Encoding: gzip on server side
2018-04-16 20:54:25 -04:00
Scott Graham
5579d4d101 Support Content-Encoding: gzip on server side
If the client specifies Content-Encoding: gzip for POST requests,
decompress the body before attempting to parse it.
2018-04-16 15:16:17 -07:00
Scott Graham
0515c6aad6 Support system-assigned port via two part listen()
This fixes #46 by allowing the user to separate the port bind from the
blocking listen(). Two new API functions bind_to_any_port() (which
returns the system-assigned port) and listen_after_bind() are equivalent
to the existing listen().
2018-04-16 08:23:41 -07:00
yhirose
0e239a0014 Fix #47 2018-04-14 18:42:56 -04:00
yhirose
5536d4c1ff Fix #44 2018-04-06 17:02:37 -04:00
yhirose
a0f50911e1 Fixed toolset setting of test/test.vcxproj 2018-04-06 16:09:41 -04:00
yhirose
4e391fdae6 Added a unit test for REMOTE_ADDR 2018-03-13 23:03:54 -04:00
yhirose
b7b3588afb Connection timeout support on Client (Fixed #34) 2018-01-04 20:35:58 -05:00
yhirose
1afcc6e702 Upgraded VC++ projects to 2017 version 2017-12-30 14:49:01 -05:00
yhirose
1d5fbe6a5b Add gzip support. resolved #11 2017-12-30 00:00:43 -05:00
yhirose
d1f903fc58 Cleanup test code 2017-12-29 23:09:17 -05:00
yhirose
0b49065583 Add a file for test 2017-12-29 22:34:59 -05:00
yhirose
7a87dd1039 Added -lpthread 2017-12-29 22:34:46 -05:00
yhirose
23c8f0c738 Fixed #28. (Keep-Alive connection support) 2017-12-20 17:32:15 -05:00
yhirose
7e5db48bdf Fixed #33 2017-12-12 22:20:40 -05:00
yhirose
31e53d21e4 Fixed #32 2017-12-10 22:34:37 -05:00
yhirose
6a608b3ed4 Fixed Unit test failures on Windows 2017-12-07 00:05:43 -05:00
yhirose
315c11d6e2 Implemented socket_reader 2017-12-06 23:52:34 -05:00
yhirose
c3346a4815 Changed to use std::multimap for params 2017-12-05 23:19:39 -05:00
yhirose
bb8a1df7a3 Fixed #21 2017-12-05 19:19:07 -05:00
yhirose
4fb2f51766 Fixed #19 2017-12-03 22:31:00 -05:00
yhirose
9bc2883090 Fixed #26 2017-12-03 21:25:38 -05:00