summary refs log tree commit diff stats
path: root/lib/pure/sockets.nim
Commit message (Collapse)AuthorAgeFilesLines
* sockets.send now throws an exception when a non-blocking socket isDominik Picheta2013-08-041-2/+14
| | | | passed to it.
* Fixes OSError deprecation warning.Dominik Picheta2013-07-211-1/+1
|
* Deprecated OSError, and modified it to require an explicit OS error code.Dominik Picheta2013-06-251-75/+59
| | | | The deprecated functions include the OSError and OSErrorMsg, the name did not change however the signature of the new functions did. They now require a TOSErrorCode value be passed to them. This value can be retrieved using OSLastError. The reason this was done is because on Windows any win api call can reset the last error code to 0, this change allows the user to immediately grab the error code and worry about the string representation later if needs be.
* Fixed overflow in sockets.parseIP4.Dominik Picheta2013-05-241-2/+5
|
* Improved the performance of the SCGI module when dealing with multipleDominik Picheta2013-05-191-1/+2
| | | | concurrent requests.
* preparations for the new symbol binding rules for clean templatesAraq2013-05-181-1/+1
|
* Deprecated recvLine and added an improved version named readLine to theDominik Picheta2013-03-231-2/+88
| | | | sockets module.
* Removes executable bit for text files.Grzegorz Adam Hankiewicz2013-03-161-0/+0
|
* Fixed timeouts for sockets, implemented timeouts in httpclient and fixedDominik Picheta2013-02-231-114/+136
| | | | a bug with redirection in httpclient.
* make some tests greenAraq2013-01-081-1/+3
|
* Fixed symbol conflict in the sockets module on Windows.Dominik Picheta2012-12-231-3/+2
|
* Fixed many deprecation warnings. asyncio.recvLine now throws anDominik Picheta2012-12-231-6/+87
| | | | exception when an error occurs. Added sockets.SocketError.
* Rewrote the implementation of parsing chunked transfer coding inDominik Picheta2012-12-231-3/+19
| | | | httpclient. Fixes #272.
* recvLine now works with unbuffered ssl sockets.Dominik Picheta2012-12-221-33/+44
| | | | Added higher level recv functions.
* Fixes SSL implementation of sendAsync.Dominik Picheta2012-12-081-2/+2
|
* Fixes #268Dominik Picheta2012-12-081-8/+14
|
* disable SSLv2_method for ubuntuAraq2012-12-031-1/+4
|
* bugfix: 'not nil' and 'shared' typesAraq2012-12-021-0/+2
|
* sockets: proper bugfix for solarisAraq2012-11-221-1/+1
|
* bugfix: sockets with SSL supportAraq2012-11-201-4/+5
|
* sockets.nim: bugfix for solarisAraq2012-11-201-0/+2
|
* annotated effects of modules: os, sockets, timesAraq2012-11-181-51/+68
|
* Many doc improvements. Changed Threads.joinThreads' param's type to varargs.Dominik Picheta2012-11-041-30/+42
|
* nimbuild should work againAraq2012-11-011-3/+3
|
* bugfix: wrong assertions for C++ code generation; some solaris support; ↵Araq2012-10-301-0/+3
| | | | first steps to an effect system
* syntax compatibility between do blocks and stmt blocksZahary Karadjov2012-10-041-1/+1
| | | | | | | | | | | | See the section `do notation` in the manual for more info. * nkMacroStmt has been removed Macro statements are now mapped to regular nkCall nodes. The support for additional clauses (such as else, except, of, etc) have been restored - they will now appear as additional arguments for the nkCall node (as nkElse, nkExcept, etc nodes) * fixed some regressions in the `is` operator and semCompiles
* Fixes sockets.recvFrom not setting length of data.Dominik Picheta2012-09-231-1/+2
|
* Ftpclient now fully works both synchronously and asynchronously.Dominik Picheta2012-09-221-2/+2
| | | | Fixed some deprecation doc messages. And some issues with asyncio.
* first steps for overloading support of passing blocks; bugfix: test results ↵Araq2012-09-111-1/+2
| | | | of 'compile' are not overwritten
* Asyncio module now works on file descriptors.Dominik Picheta2012-09-021-1/+10
|
* changed port to TPortMy Name2012-08-201-3/+3
|
* added port output for sockets.recvFromMy Name2012-08-201-4/+5
|
* Sockets module should compile again on Windows. Fixed asyncio not compiling.Dominik Picheta2012-08-121-2/+2
|
* UDP improvements for the sockets module. Renamed ftpclient.fileExists toDominik Picheta2012-08-121-3/+73
| | | | existsFile for consistency. Added tasyncudp test.
* Some improvements to the sockets module.Dominik Picheta2012-07-251-10/+14
|
* Fixes deprecation warning, fixes documentation error.Dominik Picheta2012-07-231-2/+3
|
* Many fixes for asynchronous sockets. Asyncio should now work well with ↵Dominik Picheta2012-07-221-95/+242
| | | | | | buffered and unbuffered plain and ssl sockets. Added asyncio test to the test suite.
* sockets compile again with SSL supportAraq2012-07-101-2/+2
|
* more fixes for new integer promotion rules; fixes #152; fixes #157; fixes ↵Araq2012-07-091-10/+10
| | | | #156; fixes #155
* changed integer promotion rules; breaks bootstrapping and lots of codeAraq2012-07-081-11/+11
|
* Fixed httpclient bugs, fixed socket bugs and fixed sockets for windows.Dominik Picheta2012-06-091-24/+46
|
* Sockets are now buffered and have ssl support through openssl.Dominik Picheta2012-06-031-66/+388
|
* The httpserver now gathers the headers for the user. Fixed ambiguity in ↵dom962012-05-031-6/+24
| | | | recvLine in the sockets module.
* Forgot to rename ETimedout to ETimeout in the sockets module in some places.dom962012-03-221-4/+4
|
* Fixed a problem with message parsing in the IRC module. Introduced timeout ↵dom962012-03-221-5/+82
| | | | to procs in the sockets module.
* recvLineAsync for non-blocking sockets implemented, as well as recvLine for ↵dom962012-02-181-2/+34
| | | | asyncio async sockets. Fixed removeDir on windows.
* Merge pull request #97 from ddlsmurf/fixes_macosxAraq2012-01-221-17/+13
|\ | | | | Fixes for macosx
| * Less likely to overload struct timevalEric Doughty-Papassideris2012-01-211-16/+12
| |
| * MSG_NOSIGNAL not defined on mac os xEric Doughty-Papassideris2012-01-211-1/+1
| |
* | Added asyncio module; irc, scgi and the ftpclient modules work with it. ↵dom962012-01-221-21/+40
|/ | | | Added (de)allocCStringArray. Many async sockets fixes.