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
0e239a0014
Fix #47
2018-04-14 18:42:56 -04:00
5536d4c1ff
Fix #44
2018-04-06 17:02:37 -04:00
b6790b39c1
Fixed build problem with OPENSSL_SUPPORT
2018-03-13 22:44:28 -04:00
73fa115803
Added capture and setting of REMOTE_ADDR in request.
2018-03-06 08:20:51 -07:00
b7b3588afb
Connection timeout support on Client ( Fixed #34 )
2018-01-04 20:35:58 -05:00
1d5fbe6a5b
Add gzip support. resolved #11
2017-12-30 00:00:43 -05:00
1c86540fe5
Fixed content-type problems
2017-12-22 23:16:28 -05:00
23c8f0c738
Fixed #28 . (Keep-Alive connection support)
2017-12-20 17:32:15 -05:00
a83dcefe86
Fixed SSL server problem with bad key.pem and cert.pem
2017-12-17 22:23:05 -05:00
95b22a980a
Fixed #35
2017-12-16 19:07:58 -05:00
38bbe4ec4c
Removed automatic inclution of <openssl/ssl.h> with '__has_incude'
2017-12-16 18:40:35 -05:00
7e5db48bdf
Fixed #33
2017-12-12 22:20:40 -05:00
c76d0e4ab3
Allow leading and trailing whilespaces before/after header field values
2017-12-10 22:42:11 -05:00
31e53d21e4
Fixed #32
2017-12-10 22:34:37 -05:00
459f197ed0
Fixed #30
2017-12-10 15:11:03 -05:00
cca90184aa
Raname refactoring
2017-12-09 16:45:40 -05:00
e557282641
Rename argument name
2017-12-07 13:19:03 -05:00
f35f2b23fa
Fixed problems with Visual Studio 2013
2017-12-07 13:10:20 -05:00
0968d71c96
Fixed build problems on Msys2
2017-12-07 08:28:06 -05:00
929c546f17
Fixed #29
2017-12-07 00:20:59 -05:00
6a608b3ed4
Fixed Unit test failures on Windows
2017-12-07 00:05:43 -05:00
315c11d6e2
Implemented socket_reader
2017-12-06 23:52:34 -05:00
c3346a4815
Changed to use std::multimap for params
2017-12-05 23:19:39 -05:00
bb8a1df7a3
Fixed #21
2017-12-05 19:19:07 -05:00
ea9c8ee46b
Fixed build error
2017-12-05 19:15:52 -05:00
4fb2f51766
Fixed #19
2017-12-03 22:31:00 -05:00
9bc2883090
Fixed #26
2017-12-03 21:25:38 -05:00
e90244e992
Fixed compiler warings (with -Wall and -Wextra)
2017-12-03 08:17:05 -05:00
28ba178fee
Fixed #27
2017-12-02 10:24:41 -05:00
90f9cd40f9
Fixed #3
2017-11-25 22:32:09 -05:00
1e3ef46862
Changed to return 'Server&' from 'get' and 'post'
2017-11-25 11:58:09 -05:00
ad5fba498e
Merge pull request #23 from underscorediscovery/progress-callback
...
add progress callback for http clients
2017-11-24 20:37:31 -05:00
45d79d163b
add progress callback for http clients
2017-11-22 13:01:19 -03:30
7c9f9c4a73
shield windows defines, in case they are already defined
2017-11-22 12:37:59 -03:30
bd089e9499
Fixed #18
2017-11-06 13:25:11 -05:00
57af6277b8
Update httplib.h
...
If no "Content-Length" is sent in the response-header the body is always empty #16
2017-09-11 10:58:17 +09:00
bfb7f7bb78
Fixed #15
2017-09-08 12:59:00 -04:00
2a45bdcd3b
Fixed #14
2017-09-07 14:45:02 -04:00
8821ab5997
Allow user to set socket flags for server creation to allow listening to incomming traffic on any connection
2017-08-29 10:20:20 -07:00
ce59fc6a87
Add #include <signal.h> so it compiles on linux
2017-07-07 12:43:57 -04:00
e4ef0828b0
Ignore SIGPIPE
2017-07-06 22:04:59 -04:00
ddb454da1b
Fixed #7
2017-06-28 20:12:11 -04:00
6d01712fc7
Fixed #6
2017-06-28 19:48:26 -04:00
f3eb1c4e00
Supported more MIME types.
2017-05-14 00:46:40 -04:00
5873e360a6
Fixed typo.
2017-05-13 23:44:37 -04:00
d999941a78
Renamved 'url' to 'path'.
2017-05-13 23:43:29 -04:00
ba1107541e
Use BIO for SSL connection.
2017-05-13 23:43:09 -04:00
22f124f871
Added OpenSSL support. #5
2017-04-21 23:13:30 -04:00
6a50f13209
Fixed signed/unsigned comparison warning.
2017-03-09 00:34:30 -08:00