Commit Graph

54 Commits

Author SHA1 Message Date
Nathan Hoad
e214308cb1 Remvoe the visibility on these, given their forward declarations already
specify it.
2015-03-08 13:38:44 +11:00
Nathan Hoad
c179d10897 isIpAddress doesn't have any effects, so fix it up to clean up connect. 2015-03-08 13:37:32 +11:00
Nathan Hoad
5978625c12 Make IP address checking more obvious, and add tests for the net module. 2015-03-07 12:37:52 +11:00
Nathan Hoad
d27f40d9b1 Add SNI support to client and server sockets. 2015-03-07 00:48:32 +11:00
wiffel
72e4e7291f Add SSLFree after SLShutdown to prevent memory leak 2015-02-24 22:01:07 +01:00
Dominik Picheta
1af45b78a7 Remove pointless winlean import in net module. 2015-02-21 21:32:34 +00:00
Varriount
ef44fd344b Update net.nim - fix #2193
Fixes number #2193 and resolves some ambiguity issues
2015-02-21 15:12:57 -05:00
Dominik Picheta
a853d9c3e3 Sockets now save a copy of osLastError to work around #2191. 2015-02-21 17:17:54 +00: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
Araq
10335fd726 fixed minor bugs; cleaned up tests 2015-02-12 14:56:56 +01:00
Araq
20774ad43c fixes the integer conversion regressions 2015-01-13 20:56:31 +01:00
Araq
f7ef00aa3b make net.nim compile again (quick workaround for a regression) 2015-01-13 13:55:56 +01:00
Andreas Rumpf
5bd2889267 Merge pull request #1889 from ramnes/devel
Happy new year!
2015-01-07 14:14:43 +01:00
Araq
b907fac5f9 minor cleanups 2015-01-07 02:41:50 +01:00
Guillaume Gelin
3119fe087d Happy new year! 2015-01-06 15:26:33 +01:00
Dominik Picheta
c35182aca7 Fixes #1745. 2014-12-26 19:13:27 +00:00
Will Szumski
1b614ffc80 ensure file descriptor is closed 2014-12-18 00:45:02 +00:00
Will Szumski
ff24ca9919 realised extra parameter was unnecessary 2014-12-17 23:40:10 +00:00
Will Szumski
d0ea2bdf5b improved error msgs and refactored close in the net module 2014-12-17 23:34:55 +00:00
def
f52fd8785f Fix some deprecation warnings caused by renames 2014-11-13 21:34:46 +01:00
Dominik Picheta
13e3c0d5bb Implement SO_REUSEADDR for asyncnet and asynchttpserver. 2014-11-07 14:48:11 +00:00
Araq
73ff0432dc docgen works on linux 2014-10-27 00:12:36 +01:00
Dominik Picheta
867dfbfbfa Adds socket creation for arbitrary domain, type and protocol. 2014-09-18 17:03:23 +01:00
Dominik Picheta
8b8841a6c1 NimFix on net and rawsockets modules. 2014-09-13 20:39:18 +01:00
Dominik Picheta
ac01ed5812 Fix net module on Linux. 2014-08-31 20:15:21 +01:00
Dominik Picheta
bb1e87ce4d Async SSL support. 2014-08-31 12:55:04 +01:00
Dominik Picheta
29ec795580 Fixes SSL case sensitive issues. 2014-08-30 18:00:05 +01:00
Dominik Picheta
f6dc76cfe3 Case sensitivity fixes for Posix. 2014-08-30 15:52:04 +01:00
Dominik Picheta
cff2a0c0b4 Case fixes for network modules. 2014-08-30 11:59:08 +01:00
Araq
fc5153e9b0 big rename 2014-08-28 00:37:15 +02:00
Araq
27869b6c7b big rename 2014-08-28 00:36:14 +02:00
Araq
11b6958755 big rename 2014-08-27 23:42:51 +02:00
Dominik Picheta
aa73288142 Export == from net module for TPort. 2014-08-17 19:19:20 +01:00
Dominik Picheta
a2ec3c91f1 Fix asyncnet example. Rearrange net code. 2014-08-10 12:28:17 +01:00
Dominik Picheta
ef2f377bfa Added SafeDisconn for accept. 2014-08-10 11:39:37 +01:00
Dominik Picheta
7358fc256f More future debug info. Added new error code to SafeDisconn list. 2014-08-09 20:50:06 +01:00
Dominik Picheta
ac8ddb0720 Implement safe flags for socket operations. 2014-07-13 22:32:39 +01:00
Dominik Picheta
7ebbc09578 Allow async lambdas. Other socket modifications. 2014-06-19 00:05:27 +01:00
Araq
d438ecc246 async might work now reliably 2014-04-30 00:52:58 +02:00
Dominik Picheta
291aa2eb30 Fixes docgen. 2014-04-06 19:25:46 +01:00
Dominik Picheta
783087fd57 Implemented async for httpclient. 2014-03-26 16:43:32 +00:00
Dominik Picheta
4ed1ac0078 Move asyncdispatch tests to asyncnet. 2014-03-26 10:31:16 +00:00
Dominik Picheta
d310b01db1 Moved the global dispatcher to asyncdispatch. 2014-03-23 18:24:11 +00:00
Dominik Picheta
192e11e7b7 Many renames. Created high level asyncnet module. 2014-03-22 22:33:53 +00:00
Dominik Picheta
2ce9f1c77f Copied most blocking socket operations to the net module. 2014-03-22 22:33:53 +00:00
Dominik Picheta
5bf45d9285 Clean up IP address code in net module. 2014-03-22 22:33:52 +00:00
Matthias Einwag
95e4ab99e7 Make the IP address exceptions more detailed 2014-03-14 22:17:44 +01:00
Matthias Einwag
7b055388b7 raise exceptions through newException 2014-03-09 11:47:22 +01:00
Matthias Einwag
74d51a7700 $ for TIpAddress now prints in the recommended format 2014-03-04 23:02:23 +01:00