1
0
mirror of synced 2025-06-10 20:21:41 +03:00
Commit Graph

1157 Commits

Author SHA1 Message Date
ca343ae1d8 Fix small issues in tests and added some extra checks. 2018-07-31 22:08:38 +02:00
576aeda537 Merge pull request #82 from mkolinichenko/master
Fix Keep-Alive behavior and http version parsing
2018-07-27 18:15:13 -04:00
15ed1b4883 Add Keep-Alive header to response 2018-07-27 17:39:04 +03:00
d26ee03613 Fixed request parsing regex typo 2018-07-27 17:26:14 +03:00
222f49a125 Revert "Add additional note for SSL support"
This reverts commit 86ec676408.
2018-06-14 12:25:55 -04:00
86ec676408 Add additional note for SSL support 2018-06-14 12:05:31 -04:00
85a30e73a5 Fixed -lpthread linker option position 2018-06-14 15:30:55 +00:00
962c8985b7 Merge pull request #76 from crtxcr/bounds_check_fix
Fixed bound checks for #74
2018-06-02 06:40:42 -04:00
d9479bc0b1 Fixed bound checks for #74 2018-06-02 08:40:19 +02:00
890025e347 Merge pull request #75 from crtxcr/http_response_codes
More status messages for http codes
2018-06-01 23:07:14 -04:00
2bb27aa25d Fix #74 2018-06-01 23:05:32 -04:00
bb2f96afeb Added a few more common http status codes 2018-06-01 14:34:58 +02:00
5b3187e2f9 Fix #72 2018-05-31 22:17:23 -04:00
5a78e1c457 Added 'set_keep_alive_max_count' method on Server 2018-05-31 19:01:24 -04:00
a7f47091bd Merge pull request #70 from sgraham/ipv6-getsockname
Handle port==0 when socket is bound on ipv6
2018-05-29 17:37:38 -04:00
f275352cba Handle port==0 when socket is bound on ipv6
I discovered
0515c6aad6
doesn't work when the server is bound on an AF_INET6 address on Windows
due to the getsockname() call failing.
2018-05-29 12:59:13 -07:00
40662d5e3c Fix #68 2018-05-18 16:44:03 -04:00
7b9d752583 Fixed problem with connection close 2018-05-14 00:05:14 -04:00
312a8d7523 Removed HTTP version. It's now always 'HTTP/1.1'. 2018-05-13 19:18:25 -04:00
37130cd7f9 Changed to use INVALID_SOCKET 2018-05-10 23:56:24 -04:00
75285e8713 Define and use kInvalidSocket 2018-05-09 16:28:39 -07:00
e6abebf989 Fix #65, #66 2018-05-09 07:17:45 -04:00
7c721b65fc Merge pull request #64 from yhirose/issue-57
Fix #57 and #62
2018-05-08 21:58:16 -04:00
6c5d0b2a18 Fix #57 and #62 2018-05-08 21:51:41 -04:00
e46cc54d13 Merge pull request #63 from aguadoenzo/master
Fix compilation error with musl libc
2018-05-07 07:12:49 -04:00
911e620a54 don't include sys/select on windows 2018-05-07 16:59:08 +08:00
632df52b4f add sys/select.h for musl libc 2018-05-07 02:15:12 +08:00
25e613b438 Merge pull request #61 from yhirose/issue-60
Fix #60
2018-04-29 19:02:13 -04:00
3eff00bbc8 Fix #60 2018-04-29 18:20:38 -04:00
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
ef5c4144d7 add keyword inline to some function definitions to avoid linking error 2018-04-26 12:07:44 +07:00
6aa3fd6b59 Fix #38 2018-04-20 09:59:19 -04:00
755f05c02b Removed global mutex 2018-04-20 09:37:59 -04:00
5574d82eb3 Made a temporary fix for OpenSSL thread problem 2018-04-20 00:17:51 -04:00
4320d7ba3e Merge branch 'pr/55' 2018-04-18 09:01:12 -04:00
e2e33a7f0b Updated .gitignore 2018-04-18 08:35:12 -04:00
889041f05f Don't fail chunked read if buffer not yet filled 2018-04-17 22:05:38 -07:00
956faae6f0 Changed output type of read_content_??? functions to be std::string& 2018-04-17 23:47:24 -04:00
b6df220b55 Fixed #48 2018-04-17 13:10:05 -04:00
7d6df0c651 Fixed toolset setting 2018-04-17 13:10:05 -04:00
bc051219f9 Removed is_handling_requests 2018-04-17 13:10:05 -04:00
84e31bdfd4 Merge pull request #54 from sgraham/chunked-case
Make 'chunked' in Transfer-Encoding case-insensitive
2018-04-17 08:06:46 -04:00
ca3613cd21 Make 'chunked' in Transfer-Encoding case-insensitive 2018-04-16 21:43:41 -07:00
c6a6530716 Merge pull request #53 from yhirose/issue-52
Issue 52
2018-04-17 00:06:39 -04:00
9dc4e23082 Unit test for #52 2018-04-17 00:05:05 -04:00
3c711089e5 Temporary solution for #52 2018-04-16 22:12:45 -04:00
66550eb71b Changed to return 415 instead of 406 for invalid Content-Encoding. 2018-04-16 21:02:24 -04:00
ebe40a7d94 Merge pull request #50 from sgraham/body-decompress
Support Content-Encoding: gzip on server side
2018-04-16 20:54:25 -04:00
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
4ddd5d9c5c Merge pull request #51 from sgraham/chunk-terminator
Read \r\n terminator after chunked encoding
2018-04-16 17:43:12 -04:00