Chunting Gu
|
66cab76ce6
|
Rework the data streaming
|
2019-08-12 17:32:29 +08:00 |
|
Chunting Gu
|
4f9263048f
|
Post a file with data streaming
|
2019-08-12 14:06:59 +08:00 |
|
Chunting Gu
|
feae9b7acc
|
Refine the streaming, add UT, add error handling.
|
2019-08-09 16:10:16 +08:00 |
|
Chunting Gu
|
0292b4b51e
|
Support response data streaming and add an example file downloader.
|
2019-08-08 17:12:22 +08:00 |
|
Chunting Gu
|
3077f21549
|
Move data decompression to StringBody.
|
2019-08-07 15:59:22 +08:00 |
|
Chunting Gu
|
effe302faa
|
Use bfs::path for logger path.
|
2019-08-07 13:45:56 +08:00 |
|
Chunting Gu
|
b16ba928d4
|
Add more comments for using Windows system cert store.
|
2019-08-05 14:05:24 +08:00 |
|
Chunting Gu
|
92356215ef
|
Refine help message of client examples.
|
2019-08-05 13:32:42 +08:00 |
|
Chunting Gu
|
a22e587fa4
|
Rename static_server to file_server and refine it.
|
2019-08-05 13:23:34 +08:00 |
|
Chunting Gu
|
1f4b6cac30
|
Allow to set file chunk size to the server.
|
2019-08-05 10:45:18 +08:00 |
|
Chunting Gu
|
da6addc653
|
Fix a mistake of disabling keep-alive from request.
|
2019-08-05 10:29:16 +08:00 |
|
Chunting Gu
|
673a98cffb
|
Allow to stop server and restart server; allow to run loop in multiple threads.
|
2019-07-30 10:35:51 +08:00 |
|
Chunting Gu
|
0f0f6fdf8e
|
Add parameters like timeout, buffer_size to ClientSession.
|
2019-07-26 09:59:24 +08:00 |
|
Chunting Gu
|
64b3700675
|
Merge branch 'master' of https://github.com/sprinfall/webcc
|
2019-07-25 17:36:13 +08:00 |
|
Chunting Gu
|
3b77b001e1
|
Fix a stack overflow issue when reading large response data.
|
2019-07-25 17:08:50 +08:00 |
|
Chunting Gu
|
975d73720a
|
Increase version to 0.2.0 for a new release.
|
2019-07-15 17:28:21 +08:00 |
|
Chunting Gu
|
db87f940e0
|
Refine CMake to find boost.
|
2019-07-15 17:24:21 +08:00 |
|
Chunting Gu
|
46ea52cb90
|
Refine the connection close
|
2019-07-15 15:36:30 +08:00 |
|
Adam Gu
|
2a20030f7e
|
Fix the ambiguity of the contructors of FormPart.
|
2019-07-14 09:01:48 +08:00 |
|
Chunting Gu
|
8b85248a34
|
Merge request handler to server; add FileBody for serving static files.
|
2019-07-12 16:05:01 +08:00 |
|
Chunting Gu
|
b2cbc450b8
|
Fix payload iteration issue of FormBody; Log form body; ignore body for response of HEAD.
|
2019-07-09 13:18:55 +08:00 |
|
Chunting Gu
|
3309e7896a
|
Add new log level USER
|
2019-07-05 10:57:03 +08:00 |
|
Chunting Gu
|
ec753c14c3
|
Add hello world server example
|
2019-07-04 12:23:41 +08:00 |
|
Chunting Gu
|
98aeeae012
|
Rework the body of request and response
|
2019-07-03 17:37:44 +08:00 |
|
Chunting Gu
|
a3cab444dc
|
Server API rework.
|
2019-06-26 17:34:39 +08:00 |
|
Chunting Gu
|
a65294aeec
|
Remove the title which includs the version number from openssl install screenshot.
|
2019-06-25 15:16:34 +08:00 |
|
Chunting Gu
|
8a7f53313b
|
Add response builder to simplify the response build; refine the service interfaces.
|
2019-06-21 17:41:02 +08:00 |
|
Chunting Gu
|
4140b4f94c
|
Rework the server to remove rest_xxx classes.
|
2019-06-21 13:53:00 +08:00 |
|
Chunting Gu
|
43aadee885
|
Use system certificate on Windows.
|
2019-06-17 15:28:20 +08:00 |
|
Chunting Gu
|
889024d6c7
|
Fix a compile error when SSL is disabled.
|
2019-06-13 14:47:00 +08:00 |
|
Chunting Gu
|
8c09189b14
|
Rework the client error handling
|
2019-06-10 12:00:57 +08:00 |
|
Chunting Gu
|
c2a009f68a
|
Don't log EOF as error.
|
2019-06-06 14:02:44 +08:00 |
|
Chunting Gu
|
22b209d13e
|
Allow to add Date header to the request.
|
2019-06-06 13:32:46 +08:00 |
|
Chunting Gu
|
7af95778f5
|
Rework the prepare of response status line
|
2019-06-04 10:14:41 +08:00 |
|
Chunting Gu
|
22b783ce97
|
Replace deadline_timer with steady_timer.
|
2019-06-04 09:34:55 +08:00 |
|
Chunting Gu
|
2035c1f552
|
Refine the parsing of response status line; add UT for utility.
|
2019-05-31 13:43:44 +08:00 |
|
Chunting Gu
|
78743e6a55
|
Rename macro WIN32 to _WIN32
|
2019-05-30 17:17:50 +08:00 |
|
Chunting Gu
|
59db2ca04f
|
Update screenshots
|
2019-05-30 15:14:46 +08:00 |
|
Chunting Gu
|
bd5605a0ad
|
Rename and add screenshots.
|
2019-05-30 14:03:33 +08:00 |
|
Chunting Gu
|
8ff63a3b17
|
Remove log level FATA.
|
2019-05-29 11:21:09 +08:00 |
|
Chunting Gu
|
e326a663f6
|
Refine coding style
|
2019-05-29 11:11:41 +08:00 |
|
Chunting Gu
|
e9f0cd97e8
|
Link static SSL libraries.
|
2019-05-29 11:08:17 +08:00 |
|
Chunting Gu
|
113dacb9ce
|
Remove PostFile() from session; refine cmake files; replace final with override.
|
2019-04-24 13:42:16 +08:00 |
|
Adam Gu
|
ddd521b684
|
Fix link error against crypto32; update screenshots for configure on Mac.
|
2019-04-23 21:16:36 +08:00 |
|
Chunting Gu
|
2fe4024511
|
Refine parser
|
2019-04-23 13:06:04 +08:00 |
|
Chunting Gu
|
2a868c4dc1
|
Add an option to disable GZIP.
|
2019-04-22 14:43:46 +08:00 |
|
Adam Gu
|
88f5ae3c91
|
Fix the mistake just made
|
2019-04-21 14:31:50 +08:00 |
|
Adam Gu
|
576e705f84
|
Update screenshot for cmake config of openssl on Mac
|
2019-04-21 14:30:09 +08:00 |
|
Adam Gu
|
f751f7accc
|
Crop the cmake config screenshot for Mac.
|
2019-04-21 14:23:50 +08:00 |
|
Adam Gu
|
847a20483f
|
Fix build on Mac
|
2019-04-21 12:16:28 +08:00 |
|
Chunting Gu
|
4721d50363
|
Fix multipart form data parsing
|
2019-04-18 16:20:45 +08:00 |
|
Chunting Gu
|
e621025cc3
|
Remove http prefix
|
2019-04-18 13:40:36 +08:00 |
|
Chunting Gu
|
2ea04b9705
|
Merge branch 'master' of https://github.com/sprinfall/webcc
|
2019-04-18 10:09:03 +08:00 |
|
Chunting Gu
|
a4b24c63b8
|
Rename autotest and unittest files
|
2019-04-18 10:08:53 +08:00 |
|
Chunting Gu
|
c8409dbdf2
|
Add the missing linkage of jsoncpp to autotest
|
2019-04-18 09:49:39 +08:00 |
|
 Chunting GuandGitHub
|
4f6b33b4ba
|
Remove build instructions
|
2019-04-17 18:38:20 +08:00 |
|
Chunting Gu
|
ba9f6c4c23
|
Rename test to autotest
|
2019-04-17 17:05:29 +08:00 |
|
Chunting Gu
|
de4574a437
|
Refine multipart form.
|
2019-04-17 16:09:16 +08:00 |
|
Chunting Gu
|
3742143657
|
Refine authorization.
|
2019-04-16 17:38:27 +08:00 |
|
Chunting Gu
|
8b6ce4a0c1
|
Merge branch 'master' of https://github.com/sprinfall/webcc
|
2019-04-16 17:25:07 +08:00 |
|
Chunting Gu
|
5553a70603
|
Remove two error codes
|
2019-04-16 16:59:58 +08:00 |
|
 Chunting GuandGitHub
|
6ffd73bf0d
|
Update README.md
|
2019-04-16 14:46:23 +08:00 |
|
 Chunting GuandGitHub
|
062c5cfc0e
|
Update README.md
|
2019-04-16 14:29:18 +08:00 |
|
 Chunting GuandGitHub
|
e434dc9fc8
|
Add more examples; remove SOAP.
|
2019-04-16 14:27:59 +08:00 |
|
Chunting Gu
|
e63dc748ab
|
Remove SOAP support
|
2019-04-16 13:04:42 +08:00 |
|
Chunting Gu
|
b72820c9c5
|
Add UT for http parser.
|
2019-04-16 11:11:50 +08:00 |
|
Chunting Gu
|
ddfcecccc6
|
Add automation test for http client based on httpbin.org
|
2019-04-15 16:59:43 +08:00 |
|
Chunting Gu
|
df4bb33bd8
|
Fix content-type parsing issue; refine http parser.
|
2019-04-15 12:53:43 +08:00 |
|
Chunting Gu
|
5e1b14e74d
|
Add a config option allowing to disable SSL.
|
2019-04-15 10:07:04 +08:00 |
|
Chunting Gu
|
d9509bda4a
|
Refine form data
|
2019-04-12 17:10:12 +08:00 |
|
Chunting Gu
|
a96109c3b7
|
Remove HttpFile to FormPart; refine payload prepare.
|
2019-04-12 14:18:23 +08:00 |
|
Chunting Gu
|
80d0c73617
|
Simplify RestRequest struct.
|
2019-04-12 09:48:13 +08:00 |
|
Chunting Gu
|
5c465a1e2d
|
Support file upload in server side.
|
2019-04-11 17:35:09 +08:00 |
|
Chunting Gu
|
5f9532759e
|
Refine files upload.
|
2019-04-10 13:48:33 +08:00 |
|
Chunting Gu
|
ba705e930e
|
Add VS2013 support back.
|
2019-04-09 15:39:58 +08:00 |
|
Chunting Gu
|
ee435f84c3
|
Refine the response for bad request.
|
2019-04-09 13:02:21 +08:00 |
|
Chunting Gu
|
37e71c6aca
|
Refine logger for colors
|
2019-04-09 11:14:45 +08:00 |
|
Chunting Gu
|
0ad277322f
|
Support terminal colors for logger.
|
2019-04-07 12:25:56 +08:00 |
|
Chunting Gu
|
6f7acfc442
|
Refine the support for uploading files.
|
2019-04-04 17:36:06 +08:00 |
|
Chunting Gu
|
d1ddfa4b3d
|
Add basic auth support to the client; rename methods of HttpRequestBuilder.
|
2019-04-01 17:42:28 +08:00 |
|
Chunting Gu
|
a8e86dec5e
|
Post/upload files support.
|
2019-03-28 17:23:48 +08:00 |
|
Chunting Gu
|
18db152419
|
Add base64 encode and decode.
|
2019-03-27 14:06:22 +08:00 |
|
Chunting Gu
|
ee56fe9d1b
|
Only allow session-level setting for ssl_verify and buffer_size.
|
2019-03-26 09:55:17 +08:00 |
|
Chunting Gu
|
6c5dedb807
|
Support persistent connection for server.
|
2019-03-25 18:16:58 +08:00 |
|
Chunting Gu
|
6c4ac75c35
|
Add comment to HttpClientSession about the usage in multi-thread scenario.
|
2019-03-25 11:11:53 +08:00 |
|
Chunting Gu
|
3b7f4ecacf
|
Add shortcuts for GET, POST, etc. to HttpClientSession.
|
2019-03-22 16:11:01 +08:00 |
|
Chunting Gu
|
52231d52e6
|
Add a missing source file; update README.
|
2019-03-22 10:43:06 +08:00 |
|
Chunting Gu
|
da1dbbb073
|
Add HttpRequestBuilder to replace HttpRequestArgs
|
2019-03-22 10:17:27 +08:00 |
|
Chunting Gu
|
d906470a4a
|
Support request and response compression.
|
2019-03-20 17:47:45 +08:00 |
|
Chunting Gu
|
f6c305d266
|
Add keep_alive() to HttpClientArgs
|
2019-03-19 16:38:29 +08:00 |
|
Chunting Gu
|
5853f39ac3
|
Stop deadline timer once start to read response.
|
2019-03-19 16:19:37 +08:00 |
|
Chunting Gu
|
99e02927b7
|
Reconnect and retry the request if server has closed the reused connection.
|
2019-03-19 15:34:54 +08:00 |
|
Chunting Gu
|
3566b1d98b
|
Add timeout setting HttpClientSession.
|
2019-03-19 12:37:15 +08:00 |
|
Chunting Gu
|
53fb2a92c9
|
Add buffer size to HttpClientSession
|
2019-03-19 12:27:25 +08:00 |
|
Chunting Gu
|
bc586c3ea0
|
Handle zlib on Ubuntu.
|
2019-03-19 09:57:18 +08:00 |
|
Chunting Gu
|
5f64f3bb62
|
Add zlib to support content-encoding (gzip, deflate)
|
2019-03-19 09:36:35 +08:00 |
|
Chunting Gu
|
616f5a3f5e
|
Reorganize examples; fix soap issues.
|
2019-03-15 14:40:36 +08:00 |
|
Chunting Gu
|
05782b773a
|
Refine client session and its examples.
|
2019-03-13 13:46:22 +08:00 |
|
Chunting Gu
|
5abd7e275c
|
Refine keep-alive connections.
|
2019-03-12 17:39:15 +08:00 |
|
Chunting Gu
|
901b2902a2
|
Merge HttpClient and HttpSslClient; draft of client connection pool.
|
2019-03-11 14:44:52 +08:00 |
|