Commit graph

30 commits

Author SHA1 Message Date
Dominik Picheta
941cc937d3 Fixes docgen. 2014-04-15 22:09:12 +01:00
Dominik Picheta
21d0cc8cdf Add checks for invalid socket when creating sockets. 2014-04-15 13:51:25 +01:00
Dominik Picheta
d2593e1d62 setLen now used on asyncdispatch.recv's return value on Linux.
This fixes issues with the async httpclient.
2014-04-06 22:06:25 +01:00
Dominik Picheta
439569cfa3 Documentation for async httpclient. Notes for url modules. 2014-04-06 19:27:16 +01:00
Dominik Picheta
d0478a5637 Asyncdispatch fixes.
``return`` is now transformed into a ``return nil`` in the async iterator
to work around the no-yield in ``try .. except ..`` closure iterator
limitation.
2014-04-05 20:27:42 +01:00
Dominik Picheta
5a4afbef84 Proper handling of disconnections during reading in httpclient. 2014-04-03 20:06:59 +01:00
Dominik Picheta
4399895d2e Async httpclient should now work. Changed recv behaviour.
asyncdispatch.recv no longer guarantees that it will read ALL the data
requested. The underlying WinAPI function doesn't guarantee this and it
already wasn't guaranteed anyway since the socket could disconnect
mid-transmission.
2014-04-03 20:02:42 +01:00
Dominik Picheta
e4e87f1cb2 Refactored createCb in asyncdispatch. 2014-04-02 21:28:45 +01:00
Dominik Picheta
783087fd57 Implemented async for httpclient. 2014-03-26 16:43:32 +00:00
Michał Zieliński
0420c8c363 httpclient: strip trailing whitespace from headers.
- we can do that according to the RFC.
- fixes #783
2013-12-28 17:26:08 +01:00
Dominik Picheta
c934a33ccd Implemented ability to connect through proxies for the httpclient module. 2013-08-26 18:02:45 +01:00
Araq
3aa36a8568 bugfixes 2013-05-04 02:22:38 +02:00
Dominik Picheta
e3d097c4e9 Fixed recvLine deprecation warnings. 2013-04-14 01:00:38 +01:00
Grzegorz Adam Hankiewicz
72a3e21f28 Removes executable bit for text files. 2013-03-16 23:53:07 +01:00
Dominik Picheta
f2041afad5 Fixed timeouts for sockets, implemented timeouts in httpclient and fixed
a bug with redirection in httpclient.
2013-02-23 23:12:11 +00:00
Dominik Picheta
3cbac13546 Rewrote the implementation of parsing chunked transfer coding in
httpclient. Fixes #272.
2012-12-23 11:22:42 +00:00
Dominik Picheta
0916137287 Fixes error in httpclient. 2012-12-02 13:45:28 +00:00
Dominik Picheta
fa198f5be1 Fixes SSL httpclient and problems with hidden path splitting in OS.
Added babel's libs dir to Nimrod's path.
2012-12-02 13:21:21 +00:00
Dominik Picheta
7364d72548 Fixed httpclient bugs, fixed socket bugs and fixed sockets for windows. 2012-06-09 14:24:41 +01:00
Dominik Picheta
3294cb10a9 Sockets are now buffered and have ssl support through openssl. 2012-06-03 19:09:42 +01:00
Araq
0f37d0e1f2 sockets.recv optimizations; stdlib now supports taint mode 2011-09-24 20:22:53 +02:00
Araq
3e9dcc8be5 deprecated system.copy: use system.substr instead 2011-05-14 01:13:44 +02:00
Araq
4741e8f9a1 ugh, maybe broke git 2011-04-01 15:07:16 +02:00
Araq
fa111b9067 cleanup: E_Base should not be used for inheriting exceptions; documentation generator generates dependencies section 2011-01-15 23:57:19 +01:00
Araq
d11a62af31 bugfix: httpclient 2010-10-30 19:13:35 +02:00
Andreas Rumpf
7bf98411b6 version 0.8.8 2010-03-14 01:25:25 +01:00
Andreas Rumpf
40ea1d0330 fixed pango/pangoutils new wrappers 2010-02-26 01:26:16 +01:00
rumpf_a@web.de
40a5d6c3b9 continued work on html/xmlparser 2010-02-14 00:29:35 +01:00
Andreas Rumpf
44ed48ffa6 more enhancements for the lib 2010-02-08 22:07:45 +01:00
Andreas Rumpf
7db3d97cf9 httpclient uses strtabs 2010-02-07 20:30:05 +01:00
Renamed from lib/devel/httpclient.nim (Browse further)