Commit Graph

1280 Commits

Author SHA1 Message Date
yhirose 25e613b438
Merge pull request #61 from yhirose/issue-60
Fix #60
2018-04-29 19:02:13 -04:00
yhirose 3eff00bbc8 Fix #60 2018-04-29 18:20:38 -04:00
yhirose 083106339c
Merge pull request #59 from adikabintang/master
add keyword inline to some function definitions to avoid linking error
2018-04-26 07:10:10 -04:00
adikabintang ef5c4144d7 add keyword inline to some function definitions to avoid linking error 2018-04-26 12:07:44 +07:00
yhirose 6aa3fd6b59 Fix #38 2018-04-20 09:59:19 -04:00
yhirose 755f05c02b Removed global mutex 2018-04-20 09:37:59 -04:00
yhirose 5574d82eb3 Made a temporary fix for OpenSSL thread problem 2018-04-20 00:17:51 -04:00
yhirose 4320d7ba3e Merge branch 'pr/55' 2018-04-18 09:01:12 -04:00
yhirose e2e33a7f0b Updated .gitignore 2018-04-18 08:35:12 -04:00
Scott Graham 889041f05f Don't fail chunked read if buffer not yet filled 2018-04-17 22:05:38 -07:00
yhirose 956faae6f0 Changed output type of read_content_??? functions to be std::string& 2018-04-17 23:47:24 -04: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
yhirose 84e31bdfd4
Merge pull request #54 from sgraham/chunked-case
Make 'chunked' in Transfer-Encoding case-insensitive
2018-04-17 08:06:46 -04:00
Scott Graham ca3613cd21 Make 'chunked' in Transfer-Encoding case-insensitive 2018-04-16 21:43:41 -07:00
yhirose c6a6530716
Merge pull request #53 from yhirose/issue-52
Issue 52
2018-04-17 00:06:39 -04:00
yhirose 9dc4e23082 Unit test for #52 2018-04-17 00:05:05 -04:00
yhirose 3c711089e5 Temporary solution for #52 2018-04-16 22:12:45 -04:00
yhirose 66550eb71b Changed to return 415 instead of 406 for invalid Content-Encoding. 2018-04-16 21:02:24 -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
yhirose 4ddd5d9c5c
Merge pull request #51 from sgraham/chunk-terminator
Read \r\n terminator after chunked encoding
2018-04-16 17:43:12 -04:00
yhirose 35d0054b88
Merge pull request #49 from sgraham/system-assigned-port
Support system-assigned port via two part listen()
2018-04-16 17:40:47 -04:00
Scott Graham 87c673fd67 Read \r\n terminator after chunked encoding 2018-04-16 10:28:59 -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 9d2fe9e6c8 Merge branch 'kevinbcarpenter-master' 2018-03-13 22:53:48 -04:00
yhirose b6790b39c1 Fixed build problem with OPENSSL_SUPPORT 2018-03-13 22:44:28 -04:00
Kevin B. Carpenter 73fa115803 Added capture and setting of REMOTE_ADDR in request. 2018-03-06 08:20:51 -07:00
yhirose 25aa0b34c3
Merge pull request #40 from yhirose/connection-timeout
Connection timeout support on Client (Fixed #34)
2018-01-05 18:22:51 -05: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 1c86540fe5 Fixed content-type problems 2017-12-22 23:16:28 -05:00
yhirose 23c8f0c738 Fixed #28. (Keep-Alive connection support) 2017-12-20 17:32:15 -05:00
yhirose ca7b942196 Changed license to MIT 2017-12-20 17:27:36 -05:00
yhirose a83dcefe86 Fixed SSL server problem with bad key.pem and cert.pem 2017-12-17 22:23:05 -05:00
yhirose 95b22a980a Fixed #35 2017-12-16 19:07:58 -05:00
yhirose 38bbe4ec4c Removed automatic inclution of <openssl/ssl.h> with '__has_incude' 2017-12-16 18:40:35 -05:00
yhirose 61d800053e Updated README 2017-12-12 22:22:10 -05:00
yhirose 7e5db48bdf Fixed #33 2017-12-12 22:20:40 -05:00
yhirose c76d0e4ab3 Allow leading and trailing whilespaces before/after header field values 2017-12-10 22:42:11 -05:00
yhirose 31e53d21e4 Fixed #32 2017-12-10 22:34:37 -05:00