PixlRainbow
d630c116df
server-side support for client certificates
2019-06-05 02:21:37 +08:00
Yuji Hirose
48af26e332
Fixed resource leaks
2019-06-03 11:06:59 -04:00
Yuji Hirose
d4936a2c78
Fixed #155
2019-05-31 10:30:11 -04:00
Hans Erickson
f3f4ab8499
Add encode_url() call to Client class when adding parameter values.
2019-05-20 09:48:06 -05:00
Mark Nelson
e623dfedf3
Update httplib.h
...
CPPHTTPLIB_PAYLOAD_MAX_LENGTH is only used in one place, that is to initialize payload_max_length_. Because payload_max_length_ is a size_t, attempts to intialize it with a 64 bit integer max will generate warnings, notably on 32 bit compilers. Changing the max to the same size as the target resolves that, and this should be no risk.
2019-05-14 16:17:41 -04:00
yhirose
dfc94f2cab
Code cleanup
2019-05-07 21:46:15 -04:00
yhirose
3f42804a4f
Wildcard support for verifying server certificate. fix #87
2019-05-07 21:40:03 -04:00
yhirose
82193b9489
Code clieanup
2019-05-07 20:11:45 -04:00
yhirose
097c61b871
Comment out debug print
2019-05-07 16:57:27 -04:00
yhirose
b08e22ab00
Changed the server certificate verification API
2019-05-07 16:54:51 -04:00
yhirose
03a577cccd
Fixed huge payload problem on Windows
2019-05-07 16:41:50 -04:00
yhirose
0bd9737c88
Fix #87
2019-05-07 16:41:33 -04:00
yhirose
dd901126a7
Fix #146
2019-05-05 13:31:42 -04:00
yhirose
744e8e7071
Fix #144
2019-04-12 23:34:27 -04:00
yhirose
8af85019dc
Removed get_header_value_int and use uint64_t for the return value of get_header_value_uint64
2019-04-12 17:22:39 -04:00
Manny
07ed076499
BUGFIX: crash when "content-length" > max_int
2019-04-12 12:16:32 +02:00
Yuji Hirose
5d082f1da4
Apply clangformat
2019-04-11 08:13:31 -04:00
yhirose
a91a0b7dbf
Fix #140
2019-04-10 12:21:42 -04:00
yhirose
8483e5931f
Fix #136
2019-03-28 19:56:32 -04:00
batist73
90e699161a
Add WinSock2 dependency
2019-03-27 19:55:06 +03:00
Yuji Hirose
96cacd24f9
Fixed #134
2019-03-12 08:49:08 -04:00
archivaldo
c5264cea9c
Fix coding style
2019-03-07 19:03:18 -03:00
archivaldo
dedcc43216
small fix to allow fronting
2019-03-07 16:40:19 -03:00
Whitetiger
787761a7bf
Fix build error with Boost::asio
2019-02-25 13:09:31 -05:00
Geraldo Intmain
774c27e690
Encoding LF and CR
2019-02-24 17:15:27 -03:00
yhirose
7b3f6db70b
Fix #128
2019-02-22 08:52:38 -05:00
Yuji Hirose
d3eb88b740
Fix #126
2019-02-13 08:14:58 -05:00
Constantin
28ad0ca68d
Fixed #124
2019-01-30 12:12:47 +09:00
yhirose
a72eef7fb4
Fixed #123
2019-01-29 12:05:32 -05:00
yhirose
8d908fadb6
Fixed #120
2019-01-15 08:08:34 -05:00
yhirose
b5927aec12
fix #116
2018-12-17 21:07:38 -05:00
yhirose
d0090b158f
fix #112
2018-12-13 19:37:44 -05:00
yhirose
86b3dfc480
fix #110
2018-11-30 21:18:35 -05:00
yhirose
5ad4311fb0
fix #109
2018-11-22 20:50:54 -05: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
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
Duncan Ogilvie
bc16283a2f
Change size_t to time_t where applicable
2018-08-17 11:51:41 +02: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
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
07910f73a9
Fixed problem that listen
may return incorrect value when calling stop
;
2018-07-31 19:46:04 -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
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