summary refs log tree commit diff stats
path: root/lib/pure/net.nim
Commit message (Collapse)AuthorAgeFilesLines
* Fix one more place.cheatfate2018-06-071-1/+1
|
* Fix fromSockAddrAux() to handle IPv6 addresses properly.cheatfate2018-06-071-9/+16
|
* Merge pull request #7822 from data-man/fix_2753Andreas Rumpf2018-06-071-1/+1
|\ | | | | Fixes #2753
| * Fixes #2753data-man2018-05-141-1/+1
| |
* | Set domain to clientWhiteDuke2018-05-271-0/+1
|/
* Add connectUnix and bindUnix to net docsMathias Stearn2018-05-091-1/+1
| | | fixes #7715
* remove deprecated stuff from the stdlib; introduce better deprecation warningsAraq2018-05-051-9/+0
|
* fixed high level sendTo for sending to udp6 (#7630)David Krause2018-05-021-3/+2
|
* remove dead code elimination option (#7669)Jacek Sieka2018-04-231-1/+1
|
* Merge pull request #7336 from yglukhov/ipaddr-sockaddr-conversionsDominik Picheta2018-04-021-0/+37
|\ | | | | Conversion procs for (IpAddress, Port) <-> (SockAddr, Socklen)
| * Comments addressedYuriy Glukhov2018-03-241-1/+1
| |
| * More flexible fromSockAddr interfaceYuriy Glukhov2018-03-151-5/+9
| |
| * Fixed crash/interface. Added tests.Yuriy Glukhov2018-03-151-6/+6
| |
| * Convertion procs for (IpAddress, Port) <-> (SockAddr, Socklen)Yuriy Glukhov2018-03-141-0/+33
| |
* | net.connect (with timeout), raise error on connect failureGraham Fawcett2018-03-281-0/+3
|/ | | | | | | | Under Linux (probably POSIX), the current code tests for timeout, but does not test for connection failure. connectAsync() returns succesfully upon an EINPROGRESS result; but at this point, the connection state is still unknown. After selectWrite() is done, we need to test the socket for errors again.
* Detect openssl related to outdated openssl and help user solve issue.Dominik Picheta2018-02-251-2/+8
|
* Fixes #7227.Dominik Picheta2018-02-171-0/+5
|
* Fixes #4995. (#7157)Dominik Picheta2018-02-131-3/+3
|
* Merge branch 'devel' into async-improvementsDominik Picheta2018-01-171-15/+32
|\
| * Raise assertion error when attempting to use closed socket.Dominik Picheta2018-01-151-11/+24
| |
| * recv with a timeout of -1 shouldn't wait on all data.Dominik Picheta2018-01-111-1/+5
| |
| * Merge pull request #6922 from FedericoCeratto/openssl-1.1.0Dominik Picheta2018-01-101-1/+1
| |\ | | | | | | Add OpenSSL 1.1.0 support
| | * Add OpenSSL 1.1.0 support #5000Federico Ceratto2017-12-281-1/+1
| | | | | | | | | | | | Add a simple online test
| * | net.nim: minor documentation updateAndreas Rumpf2018-01-071-2/+2
| |/
* | Merge branch 'devel' into async-improvementsAndreas Rumpf2017-12-111-1/+13
|\|
| * Add TCP_NODELAY support #6795Federico Ceratto2017-11-241-1/+13
| |
* | Implements nativesockets.accept.Dominik Picheta2017-11-241-7/+3
|/
* Fix creating server example in net moduleDominik Picheta2017-11-071-1/+1
|
* Fixed crash in case of ssl error in SSLShutdown (#6662)Yuriy Glukhov2017-11-011-2/+5
|
* Remove expr/stmt (#5857)Arne Döring2017-07-251-1/+1
|
* Add 'hostname' param to wrapConnectedSocketRuslan Mustakov2017-05-041-176/+182
|
* Implement dial, support IPv6 in httpclient (#5763)Ruslan Mustakov2017-05-021-2/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implement dial, support IPv6 in httpclient Added ``dial`` procedure to networking modules: ``net``, ``asyncdispatch``, ``asyncnet``. It merges socket creation, address resolution, and connection into single step. When using ``dial``, you don't have to worry about IPv4 vs IPv6 problem. Fixed addrInfo loop in connect to behave properly. Previously it would stop on first non-immediate failure, instead of continuing and trying the remaining addresses. Fixed newAsyncNativeSocket to raise proper error if socket creation fails. Fixes: #3811 * Check domain during connect() only on non-Windows This is how it was in the previous implementation of connect(). * Call 'osLastError' before 'close' in net.dial * Record osLastError before freeAddrInfo in net.dial * Add missing docs for 'dial' proc * Optimize dial to create one FD per domain, add tests And make async IPv6 servers work on Windows. * Add IPv6 test to uri module * Fix getAddrString error handling
* fixes #3847 (#5609)Andreas Rumpf2017-03-271-8/+3
|
* deprecated nativesockets.dealloc, use freeAddrInfo instead; fixed stdlib ↵Andreas Rumpf2017-01-301-12/+12
| | | | deprecations
* Fixed dynlink with OpenSSL >1.1.0. Added loadLibPattern.Yuriy Glukhov2016-11-301-23/+10
|
* fixed typoDavid Krause2016-11-171-1/+1
|
* Mark socketError as gcsafeYuriy Glukhov2016-10-261-1/+1
|
* Fixes #3847.Dominik Picheta2016-09-251-3/+19
|
* Fixes #4797.Dominik Picheta2016-09-191-0/+3
|
* Improvements to httpclient. Refs #4423.Dominik Picheta2016-09-181-0/+35
| | | | | | * Adds ability to query HttpCode and compare it with strings. * Moves HttpMethod to HttpCore module. * Implements synchronous HttpClient using {.multisync.}.
* make net.nim compile for osx doc2Andreas Rumpf2016-09-081-1/+1
|
* Enable SO_NOSIGPIPE for sockets on OS X.Dominik Picheta2016-08-161-0/+4
|
* Fixes #4406.Dominik Picheta2016-08-131-2/+2
|
* stdlib and compiler don't use .immediate anymoreAndreas Rumpf2016-07-291-2/+2
|
* Fix broken asyncnet module.Dominik Picheta2016-06-031-1/+1
|
* Modified #3472 to make its API more idiomatic.Dominik Picheta2016-06-031-28/+52
|
* Merge branch 'tls-psk' of https://github.com/zielmicha/nim into ↵Dominik Picheta2016-06-031-3/+99
|\ | | | | | | zielmicha-tls-psk
| * net.nim: destroyContext for destroying SSLContextMichał Zieliński2015-10-241-1/+7
| |
| * net.nim: support for TLS-PSK ciphersuitesMichał Zieliński2015-10-241-13/+89
| |
| * net.nim: support storing arbitrary data inside SSLContextMichał Zieliński2015-10-241-0/+14
| |