Commit Graph

105 Commits

Author SHA1 Message Date
wiffel
72e4e7291f Add SSLFree after SLShutdown to prevent memory leak 2015-02-24 22:01:07 +01:00
Federico Ceratto
657dca5c3b Fix typos 2015-02-15 16:20:32 +00:00
Federico Ceratto
c95f6f117a Fix typos 2015-02-15 16:06:06 +00:00
Dominik Picheta
9df1de44f6 Emphasises deprecation warning in sockets module. 2014-12-26 16:26:28 +00:00
Araq
7deb8b2e7b fixed typos so docgen works again 2014-12-20 22:39:05 +01:00
Araq
dd410ab084 fixes #1698 2014-12-17 23:55:04 +01:00
Dustin Lacewell
51d2096cd3 Update the pattern to prefer the old version 2014-12-03 15:15:58 -08:00
def
f52fd8785f Fix some deprecation warnings caused by renames 2014-11-13 21:34:46 +01:00
Erik O'Leary
aac8de6b4c Fixed FD_SET casing 2014-10-10 22:36:15 -05:00
Araq
3866820eee made some tests green 2014-09-21 23:57:54 +02:00
Araq
7333237be6 'nimfix' improvements; FdSet is TFdSet again 2014-09-08 08:46:35 +02:00
Dominik Picheta
d26d42b88e Case sensitivity fixes for httpclient and sockets module. 2014-08-31 12:55:03 +01:00
Araq
c68c42a237 updated sockets.nim 2014-08-28 22:55:47 +02:00
Araq
11b6958755 big rename 2014-08-27 23:42:51 +02:00
Araq
15a7bcc89f renamefest 2014-08-23 01:59:59 +02:00
Araq
2f43fdb837 renamefest 2014-08-23 01:43:49 +02:00
Charlie Barto
46d4e5d052 changed openssl to import CRYPTO_mem_set_functions from libcrypto and made sockets.nim exclude the sslv2 code on BSD 2014-05-10 18:54:30 -04:00
Araq
e6d17e6273 made large parts of the stdlib gcsafe 2014-04-20 20:01:24 +02:00
Dominik Picheta
4d2f1396cb Revent pruneSocketSet to efficient version. 2014-04-05 23:30:16 +01:00
Dominik Picheta
51c203bab0 Modified behaviour of checkBuffer to match new select behaviour. Refs #822. 2014-04-05 23:10:51 +01:00
Araq
435610e0af merged #823 against devel 2014-02-02 01:38:19 +01:00
Araq
de538deb7a should compile on netbsd 2014-01-23 20:43:56 +01:00
Erik O'Leary
5d8d1ed8bc Corrected prunesocketset and pruneprocessset
fd sets passed to select() were pruning ready FDs rather than pruning
UN-ready FDs.
2014-01-19 10:51:21 -06:00
Araq
73c6efdf66 'nil' as a statement is deprecated, use an empty 'discard' instead 2014-01-19 16:54:59 +01:00
Araq
286f166304 case consistency for linux 2013-12-29 03:32:46 +01:00
Araq
b731e6ef1c case consistency: cs:partial bootstraps on windows 2013-12-29 03:19:10 +01:00
Araq
438703f59e case consistency: next steps 2013-12-29 01:13:51 +01:00
Araq
92b8fac94a case consistency part 4 2013-12-27 23:10:36 +01:00
Araq
2df9b442c6 case consistency part 1 2013-12-27 15:48:53 +01:00
Araq
84e4710320 bugfix: InvalidSockets needs to be a let variable 2013-12-24 01:39:33 +01:00
Araq
feb9af48f1 NoFakeVars progress 2013-12-24 00:21:22 +01:00
Araq
619356dd08 bugfix: '$' for TPort 2013-11-19 14:06:39 +01:00
Dominik Picheta
78123520a9 Implemented boolean socket options.
Added reuseAddr for httpserver and scgi.
2013-10-30 16:40:03 +00:00
Dominik Picheta
0663c883e5 TPort is now uint16 and other small sockets fixes. 2013-10-30 14:35:30 +00:00
Dominik Picheta
f695bb0b6f Fixed socket compilation problems on Windows. 2013-10-23 18:30:03 +01:00
Dominik Picheta
8231deffd0 Made TSocketHandle distinct and fixed problems it caused for SSL. 2013-10-23 18:07:00 +01:00
Clay Sweetser
229d83f6c6 Added a TSocketHandle type to winlean.nim and posix.nim
Edited sockets.nim and asyncio.nim to use the new TSocketHandle type.
2013-10-15 13:53:44 -04:00
Araq
67e9f2861e some fixes for win64 2013-10-10 00:39:10 +02:00
Araq
1a792d46d0 first version of the debug GC; doesn't work yet 2013-10-01 08:44:09 +02:00
Dominik Picheta
8ac7bda244 sockets.send now throws an exception when a non-blocking socket is
passed to it.
2013-08-04 19:13:29 +01:00
Dominik Picheta
325c167e2a Fixes OSError deprecation warning. 2013-07-21 11:08:28 +01:00
Dominik Picheta
bacb20a379 Deprecated OSError, and modified it to require an explicit OS error code.
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.
2013-06-25 20:10:28 +01:00
Dominik Picheta
3001ed54f9 Fixed overflow in sockets.parseIP4. 2013-05-24 19:43:37 +01:00
Dominik Picheta
0b2512e1e4 Improved the performance of the SCGI module when dealing with multiple
concurrent requests.
2013-05-19 18:33:47 +01:00
Araq
ce5a1365c2 preparations for the new symbol binding rules for clean templates 2013-05-18 10:05:06 +02:00
Dominik Picheta
5267984985 Deprecated recvLine and added an improved version named readLine to the
sockets module.
2013-03-23 20:13:11 +00: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
Araq
5a9637f2f3 make some tests green 2013-01-08 22:51:23 +01:00
Dominik Picheta
f83881dd4e Fixed symbol conflict in the sockets module on Windows. 2012-12-23 14:31:16 +00:00