Commit Graph

47 Commits

Author SHA1 Message Date
hidnplayr
55a5bd1941 Fix possible page error while receiving chunked data.
git-svn-id: svn://kolibrios.org@7091 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-10-13 22:15:00 +00:00
ashmew2
4e43c1647f Show EAI code when getaddrinfo() failed
git-svn-id: svn://kolibrios.org@7009 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-09-24 21:26:43 +00:00
hidnplayr
c115b27b86 HTTP library POST method example: use HTTP_send function
git-svn-id: svn://kolibrios.org@7008 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-09-24 20:37:53 +00:00
hidnplayr
a70c9b8117 Fix some debug message priorities.
git-svn-id: svn://kolibrios.org@7006 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-09-23 21:27:30 +00:00
hidnplayr
ea9c1a36c9 HTTP library, small refactoring, extra debug info.
git-svn-id: svn://kolibrios.org@6921 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-06-11 10:50:58 +00:00
hidnplayr
82ee194a2b Fix memory leak in HTTP library.
git-svn-id: svn://kolibrios.org@5904 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-11-09 21:47:39 +00:00
hidnplayr
d191a775e6 http lib: Bugfixes for keepalive connections.
git-svn-id: svn://kolibrios.org@5769 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-08-24 13:43:34 +00:00
hidnplayr
2f4b8c666c http library: allow caller to make receive() blocking. Reduced debug output. Updated documentation.
git-svn-id: svn://kolibrios.org@5732 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-08-17 10:33:23 +00:00
hidnplayr
82a5bee8dd Updated http lib examples.
git-svn-id: svn://kolibrios.org@5539 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-03-20 21:05:20 +00:00
hidnplayr
b5e53921bc Bugfixes for stream transfers, ability to re-use the same buffer over and over.
git-svn-id: svn://kolibrios.org@5537 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-03-20 14:00:21 +00:00
hidnplayr
d52d41e20d Extended http library API to allow keepalive connections, streaming connections and transfer of large files.
git-svn-id: svn://kolibrios.org@5534 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-03-20 12:04:14 +00:00
CleverMouse
cd74d1af33 switch build system to Tup
git-svn-id: svn://kolibrios.org@5098 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-09-12 15:15:23 +00:00
hidnplayr
f63722e276 Fixed http library example
git-svn-id: svn://kolibrios.org@5094 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-09-08 17:27:41 +00:00
hidnplayr
a440af1ed3 Added HTTP_send, renamed HTTP_process to HTTP_receive, renamed HTTP_stop to HTTP_disconnect, added HTTP_free
git-svn-id: svn://kolibrios.org@4996 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-07-16 14:11:19 +00:00
hidnplayr
352415e198 Updated docs.
git-svn-id: svn://kolibrios.org@4986 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-06-21 18:31:41 +00:00
hidnplayr
1974f465e8 Fixed bug in URL parsing.
git-svn-id: svn://kolibrios.org@4983 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-06-18 11:31:21 +00:00
hidnplayr
9af689d270 Debug information for escape and unescape functions.
git-svn-id: svn://kolibrios.org@4848 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-04-17 19:20:35 +00:00
hidnplayr
66ebe18f55 Fixed bug in escape function, return data length in ebx.
git-svn-id: svn://kolibrios.org@4831 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-04-14 14:39:53 +00:00
hidnplayr
f5f92c1d66 Fixed bug in http.obj (concerning POST method).
Added new example program PASTA, using http POST method.

git-svn-id: svn://kolibrios.org@4830 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-04-14 10:58:11 +00:00
hidnplayr
eec69507f4 Added debug message when header field is not found.
git-svn-id: svn://kolibrios.org@4829 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-04-13 20:00:38 +00:00
hidnplayr
27e8fa73e3 Bugfixes in chunked decoder and timeouts, refactoring.
git-svn-id: svn://kolibrios.org@4690 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-03-23 19:37:44 +00:00
hidnplayr
4c6ef451fb HTTP lib: fix bug where last piece of data was not received during non-chunked transfer.
git-svn-id: svn://kolibrios.org@4561 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-02-08 12:24:25 +00:00
hidnplayr
407cda99af HTTP library: download content into separate buffer.
git-svn-id: svn://kolibrios.org@4541 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-27 21:15:30 +00:00
Marat Zakiyanov (Mario79)
be43029262 New downloader - some refactoring GUI and invoking OpenDialog
git-svn-id: svn://kolibrios.org@4243 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-16 23:38:52 +00:00
hidnplayr
bf29240050 HTTP lib: updated documentation
git-svn-id: svn://kolibrios.org@4242 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-16 20:22:44 +00:00
hidnplayr
6cfbb43cef HTTP library: bugfixes for additional HTTP header
git-svn-id: svn://kolibrios.org@4241 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-16 20:20:35 +00:00
hidnplayr
b8f49a3e81 HTTP library: support for non-standard port and HTTP proxy server.
git-svn-id: svn://kolibrios.org@4233 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-15 07:49:31 +00:00
hidnplayr
89b015fa20 HTTP library: fixed memory leak.
git-svn-id: svn://kolibrios.org@4222 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-13 19:21:57 +00:00
hidnplayr
536d3c7b98 HTTP library: updated API to support additional HTTP parameters.
NOTE: this breaks compatibility with all current binaries!

git-svn-id: svn://kolibrios.org@4221 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-13 18:25:47 +00:00
hidnplayr
bc0823758d HTTP library: correctly receive content that is not chunked and has unknown content length.
git-svn-id: svn://kolibrios.org@4220 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-12 20:08:02 +00:00
hidnplayr
9a9da5c081 Bugfix in HTTP library: receive all data on non-chunked transfer. (bug in #4168)
git-svn-id: svn://kolibrios.org@4217 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-12 10:59:36 +00:00
hidnplayr
f613b39ab9 HTTP library: preserve registers in stdcalls.
git-svn-id: svn://kolibrios.org@4216 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-12 10:37:17 +00:00
hidnplayr
daa2b8868e HTTP library: ignore replies with code 100, some optimizations.
git-svn-id: svn://kolibrios.org@4212 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-11 21:25:11 +00:00
hidnplayr
869ad0e00a Add some debug info
git-svn-id: svn://kolibrios.org@4211 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-11 18:55:50 +00:00
hidnplayr
844b6d4681 HTTP library: bugfix in lib_init, more comments, stubs for URI_escape and URI_unescape
git-svn-id: svn://kolibrios.org@4209 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-11 17:28:49 +00:00
hidnplayr
97c936deaf bugfix for timeout in HTTP library
git-svn-id: svn://kolibrios.org@4207 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-11 14:04:48 +00:00
hidnplayr
3ae5249709 Timeout for HTTP library
git-svn-id: svn://kolibrios.org@4206 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-11 12:29:54 +00:00
hidnplayr
0c94d22080 'free' and 'stop' functions for HTTP library.
git-svn-id: svn://kolibrios.org@4205 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-11 11:35:18 +00:00
hidnplayr
34ecc269a0 HTTP library: bugfix in HTTP_process
git-svn-id: svn://kolibrios.org@4204 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-10 22:16:02 +00:00
hidnplayr
d1b0a4ad6d Bugfixes in HTTP_process
git-svn-id: svn://kolibrios.org@4203 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-10 22:05:06 +00:00
hidnplayr
a3b0093ead HTTP library: small bugfixes, more comments.
git-svn-id: svn://kolibrios.org@4202 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-10 21:05:08 +00:00
hidnplayr
fc383603e2 Updates and bugfixes for HTTP lib.
git-svn-id: svn://kolibrios.org@4168 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-05 17:02:59 +00:00
hidnplayr
44992ba6df HTTP lib: added support for HEAD and POST methods
git-svn-id: svn://kolibrios.org@4167 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-05 11:22:31 +00:00
hidnplayr
5da434be1e HTTP lib now also supports chunked content encoding.
git-svn-id: svn://kolibrios.org@4162 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-04 18:41:15 +00:00
hidnplayr
cb3c960361 HTTP library: correctly parse URL's that have no page address
git-svn-id: svn://kolibrios.org@4161 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-04 16:14:13 +00:00
hidnplayr
f11c912eea make HTTP example 'compileable'
git-svn-id: svn://kolibrios.org@4160 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-04 16:12:47 +00:00
hidnplayr
501706cdc8 Added HTTP library + example
git-svn-id: svn://kolibrios.org@4158 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-04 13:07:21 +00:00