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

1486 Commits

Author SHA1 Message Date
yhirose
5ad4311fb0 fix #109 2018-11-22 20:50:54 -05:00
yhirose
76ea8dd560 Added LongQueryValue test 2018-11-14 17:35:27 -05:00
yhirose
903b23ea5a Updated README 2018-11-09 23:30:58 -05:00
yhirose
bfd354e695 Updated README. fix #102 2018-11-08 11:47:28 +09:00
yhirose
74ec96e228
Merge pull request #101 from geraldolsribeiro/master
Encode space and plus characters
2018-10-30 21:42:11 +09:00
Geraldo Intmain
c4f9062552 Encode space and plus characters 2018-10-29 20:46:11 -03:00
yhirose
49c82c9c50 Fix #97. (Thanks to DJm00n.) 2018-10-28 16:15:22 +09:00
yhirose
97521e63f0
Merge pull request #98 from mrexodia/small-cleanup
Fix undefined behavior + make some ifdefs more readable
2018-10-22 12:43:12 +09:00
Duncan Ogilvie
f88ab8ad4c
travis and appveyor configuration 2018-10-14 22:42:18 +02:00
Duncan Ogilvie
d0c5c66bd6
Fix undefined behavior + make some ifdefs more readable 2018-10-14 12:39:51 +02:00
yhirose
d32eee7627 Fix #96 2018-09-30 08:40:31 -04:00
yhirose
abf79d5a38 Code cleanup 2018-09-23 12:32:26 -04:00
yhirose
4d7cee81eb Fix #95 2018-09-23 12:02:17 -04:00
yhirose
9546ec842b Fixed problem with log format in server examples 2018-09-14 17:53:11 -04:00
Yuji Hirose
28d17448b7 Revert test.vcproj.
This reverts commit cc983be31f079f7d5f46fec1d2e1cf787196ad50.
2018-09-14 15:58:16 -04:00
yhirose
9c37258593
Merge pull request #92 from mrexodia/time_t
Change size_t to time_t where applicable
2018-08-17 07:05:50 -04:00
yhirose
07b47d8e0f
Merge pull request #91 from mrexodia/msvc-examples
Some minor fixed to the Visual Studio example project
2018-08-17 07:04:47 -04:00
yhirose
b9fc486f47
Merge pull request #90 from mrexodia/cpp11-examples
Refactor the examples to compile with a C++11 compiler
2018-08-17 07:04:18 -04:00
Duncan Ogilvie
bc16283a2f Change size_t to time_t where applicable 2018-08-17 11:51:41 +02:00
Duncan Ogilvie
e392738251 Fix intermediate directory in project + add x64 configurations in MSVC example solution 2018-08-17 11:51:20 +02:00
Duncan Ogilvie
4af5b1e441 Refactor the examples to compile with a C++11 compiler 2018-08-17 11:49:42 +02:00
yhirose
48b47ef209 Updated README for cancelation feature 2018-08-06 22:52:48 -04:00
yhirose
f4981459b3
Merge pull request #89 from dolphineye/request-cancelation
Request cancelation feature
2018-08-06 22:46:05 -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
yhirose
f2daaf1b85
Merge pull request #85 from davidgfnet/streaming
Implementing streaming Responses
2018-08-01 17:56:09 -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
yhirose
3b3f358b15 Merge branch 'davidgfnet-testfixes' 2018-07-31 19:55:34 -04:00
yhirose
07910f73a9 Fixed problem that listen may return incorrect value when calling stop; 2018-07-31 19:46:04 -04:00
David Guillen Fandos
ca343ae1d8 Fix small issues in tests and added some extra checks. 2018-07-31 22:08:38 +02:00
yhirose
576aeda537
Merge pull request #82 from mkolinichenko/master
Fix Keep-Alive behavior and http version parsing
2018-07-27 18:15:13 -04:00
Maksim Kolinichenko
15ed1b4883 Add Keep-Alive header to response 2018-07-27 17:39:04 +03:00
Maksim Kolinichenko
d26ee03613 Fixed request parsing regex typo 2018-07-27 17:26:14 +03:00
yhirose
222f49a125 Revert "Add additional note for SSL support"
This reverts commit 86ec676408c15730c43a322141f2917fedbd1aad.
2018-06-14 12:25:55 -04:00
yhirose
86ec676408 Add additional note for SSL support 2018-06-14 12:05:31 -04:00
yhirose
85a30e73a5 Fixed -lpthread linker option position 2018-06-14 15:30:55 +00:00
yhirose
962c8985b7
Merge pull request #76 from crtxcr/bounds_check_fix
Fixed bound checks for #74
2018-06-02 06:40:42 -04:00
Albert S
d9479bc0b1 Fixed bound checks for #74 2018-06-02 08:40:19 +02:00
yhirose
890025e347
Merge pull request #75 from crtxcr/http_response_codes
More status messages for http codes
2018-06-01 23:07:14 -04:00
yhirose
2bb27aa25d Fix #74 2018-06-01 23:05:32 -04:00
Albert S
bb2f96afeb Added a few more common http status codes 2018-06-01 14:34:58 +02:00
yhirose
5b3187e2f9 Fix #72 2018-05-31 22:17:23 -04:00
yhirose
5a78e1c457 Added 'set_keep_alive_max_count' method on Server 2018-05-31 19:01:24 -04:00
yhirose
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
Scott Graham
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
yhirose
40662d5e3c Fix #68 2018-05-18 16:44:03 -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
37130cd7f9 Changed to use INVALID_SOCKET 2018-05-10 23:56:24 -04:00
Joshua Peraza
75285e8713 Define and use kInvalidSocket 2018-05-09 16:28:39 -07:00