Commit graph

66 commits

Author SHA1 Message Date
yhirose
929c546f17 Fixed #29 2017-12-07 00:20:59 -05:00
yhirose
6a608b3ed4 Fixed Unit test failures on Windows 2017-12-07 00:05:43 -05:00
yhirose
315c11d6e2 Implemented socket_reader 2017-12-06 23:52:34 -05:00
yhirose
c3346a4815 Changed to use std::multimap for params 2017-12-05 23:19:39 -05:00
yhirose
bb8a1df7a3 Fixed #21 2017-12-05 19:19:07 -05:00
yhirose
ea9c8ee46b Fixed build error 2017-12-05 19:15:52 -05:00
yhirose
4fb2f51766 Fixed #19 2017-12-03 22:31:00 -05:00
yhirose
9bc2883090 Fixed #26 2017-12-03 21:25:38 -05:00
yhirose
e90244e992 Fixed compiler warings (with -Wall and -Wextra) 2017-12-03 08:17:05 -05:00
yhirose
28ba178fee Fixed #27 2017-12-02 10:24:41 -05:00
yhirose
90f9cd40f9 Fixed #3 2017-11-25 22:32:09 -05:00
yhirose
1e3ef46862 Changed to return 'Server&' from 'get' and 'post' 2017-11-25 11:58:09 -05:00
yhirose
ad5fba498e
Merge pull request #23 from underscorediscovery/progress-callback
add progress callback for http clients
2017-11-24 20:37:31 -05:00
underscorediscovery
45d79d163b add progress callback for http clients 2017-11-22 13:01:19 -03:30
underscorediscovery
7c9f9c4a73 shield windows defines, in case they are already defined 2017-11-22 12:37:59 -03:30
yhirose
bd089e9499 Fixed #18 2017-11-06 13:25:11 -05:00
Constantin
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
yhirose
bfb7f7bb78 Fixed #15 2017-09-08 12:59:00 -04:00
yhirose
2a45bdcd3b Fixed #14 2017-09-07 14:45:02 -04:00
Curtis Mahieu
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
Dmitry Romanov
ce59fc6a87 Add #include <signal.h> so it compiles on linux 2017-07-07 12:43:57 -04:00
yhirose
e4ef0828b0 Ignore SIGPIPE 2017-07-06 22:04:59 -04:00
yhirose
ddb454da1b Fixed #7 2017-06-28 20:12:11 -04:00
yhirose
6d01712fc7 Fixed #6 2017-06-28 19:48:26 -04:00
yhirose
f3eb1c4e00 Supported more MIME types. 2017-05-14 00:46:40 -04:00
yhirose
5873e360a6 Fixed typo. 2017-05-13 23:44:37 -04:00
yhirose
d999941a78 Renamved 'url' to 'path'. 2017-05-13 23:43:29 -04:00
yhirose
ba1107541e Use BIO for SSL connection. 2017-05-13 23:43:09 -04:00
yhirose
22f124f871 Added OpenSSL support. #5 2017-04-21 23:13:30 -04:00
Cameron Esfahani
6a50f13209 Fixed signed/unsigned comparison warning. 2017-03-09 00:34:30 -08:00
Yuji Hirose
902bf3d0eb Removed 'FILE' I/O, use socket directly. 2016-09-16 16:12:52 -04:00
Hirose
d0759eb4eb Fixed socket close problem with VC 2015. 2016-09-06 18:35:03 -04:00
yhirose
969744bfeb Code cleanup 2016-03-04 16:49:15 -05:00
yhirose
29c56644b0 Visual Studio 2015 support. 2015-08-04 18:13:39 -04:00
yhirose
5b0c90d3b3 Fixed build problem on Raspberry PI. 2015-07-16 20:26:26 -04:00
yhirose
1ee29f7b2c Format cleanup. 2015-07-15 16:41:11 -04:00
yhirose
123edd5a29 Added 'const char*' version of set_content. 2015-07-15 16:40:40 -04:00
yhirose
3b85d6e4e8 Fixed problem with content length 0. 2015-07-15 16:39:57 -04:00
yhirose
cb473e8534 Fixed decode problem with form-urlencoded data. 2015-07-13 15:42:21 -04:00
yhirose
62f824e204 Fixed problem with reading request body data. 2015-07-12 22:54:03 -04:00
yhirose
79bb0be0ca Fixed close problem win _open_oshandle on Windows. 2015-01-27 16:45:11 -05:00
yhirose
efc579b14e Changed to use getaddrinfo. 2015-01-14 18:51:53 -05:00
yhirose
20fa4ba3b4 added return value to set_base_dir. 2013-07-04 22:08:06 -04:00
yhirose
eef74af19b static file support. vc12 support. 2013-07-04 18:18:52 -04:00
yhirose
a9b34615c7 Fixed file pointer leak. 2013-06-07 19:15:25 -04:00
yhirose
9c7cd1af71 Changed to use more c++11 features. 2013-05-11 16:11:30 -04:00
yhirose
a1ef364247 Changed to use c++11 features. 2013-04-24 06:09:19 -04:00
yhirose
e7e8f5e70e Changed to use 'auto'. 2012-11-07 20:54:39 -05:00
yhirose
767ed02280 Added WSInit class to initialize WinSock2. 2012-11-07 20:54:04 -05:00
yhirose
1b2f37e241 Made Response argument 'const'. 2012-10-12 21:40:07 -04:00