Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixes subtle SSL recvInto bug. | Dominik Picheta | 2019-07-27 | 1 | -0/+1 |
| | | | | | This resulted in a "value out of range: -1" exception inside `recvInto` (on the `copyMem` line). Basically readIntoBuf was returning `-1`. | ||||
* | make more parts of the stdlib compile with --styleCheck:error | Araq | 2019-07-10 | 1 | -5/+5 |
| | |||||
* | newruntime for async (#11650) | Andreas Rumpf | 2019-07-05 | 1 | -13/+13 |
| | | | | | | | * fixes overloading resolution for passing owned(Future[string]) to Future[T] * WIP: make --newruntime work with .async * memtracker: make it compile again * make Nimble compile again | ||||
* | fixes #1286; object case transitions are now sound | Andreas Rumpf | 2019-05-27 | 1 | -14/+10 |
| | |||||
* | Fix header inconsistencies in documentation (#11071) | Zed | 2019-04-23 | 1 | -4/+4 |
| | |||||
* | asyncnet.nim: Minor code cleanup | Araq | 2019-02-19 | 1 | -4/+4 |
| | |||||
* | Provide access to getsockname()/getpeername() | Federico Ceratto | 2019-02-17 | 1 | -0/+12 |
| | | | | Port of #3323 with added tests | ||||
* | Merge pull request #9915 from zevv/asyncnet-unix | Dominik Picheta | 2018-12-12 | 1 | -0/+55 |
|\ | | | | | Added basic AF_UNIX support to asyncnet. | ||||
| * | Added basic AF_UNIX support to asyncnet. | Ico Doornekamp | 2018-12-09 | 1 | -0/+55 |
| | | | | | | | | | | | | | | | | Unfortunately this required some code duplication because the doConnect() from asynccommon.nim only works with addrInfo which does not make sense for AF_UNIX. makeUnixAddr() was moved to nativesocket.nim and exported | ||||
* | | Fixes 9716 [backport] (#9790) | Yuriy Glukhov | 2018-11-24 | 1 | -1/+1 |
| | | | | | | | | | | | | * reuse temporary variable * fixes #9716 [backport] * Declare local vars in safer place | ||||
* | | stdlib: documenation updates, the exception names have been changed | Andreas Rumpf | 2018-10-25 | 1 | -1/+1 |
|/ | |||||
* | WIP: disallow 'nil' for strings and seqs | Andreas Rumpf | 2018-08-13 | 1 | -2/+2 |
| | |||||
* | make async tests green for Linux | Araq | 2018-08-08 | 1 | -2/+0 |
| | |||||
* | remove deprecated stuff from the stdlib; introduce better deprecation warnings | Araq | 2018-05-05 | 1 | -2/+0 |
| | |||||
* | make asyncnet work again | Andreas Rumpf | 2018-04-30 | 1 | -1/+1 |
| | |||||
* | Fixes #4995. (#7157) | Dominik Picheta | 2018-02-13 | 1 | -4/+8 |
| | |||||
* | Revert 3db460f5045e790b54ea382 as requested by @Araq. | Dominik Picheta | 2018-01-28 | 1 | -2/+0 |
| | |||||
* | Merge branch 'devel' into async-improvements | Dominik Picheta | 2018-01-17 | 1 | -0/+2 |
|\ | |||||
| * | Raise assertion error when attempting to use closed socket. | Dominik Picheta | 2018-01-15 | 1 | -0/+2 |
| | | |||||
* | | setBlocking(false) is called on AsyncFD in newAsyncSocket proc. | Dominik Picheta | 2017-11-24 | 1 | -0/+9 |
|/ | |||||
* | Remove expr/stmt (#5857) | Arne Döring | 2017-07-25 | 1 | -2/+2 |
| | |||||
* | Adding test for recvline | Euan Torano | 2017-07-09 | 1 | -4/+2 |
| | | | | Signed-off-by: Euan Torano <euantorano@gmail.com> | ||||
* | Wait for reads to finish before reading the result | Euan T | 2017-07-03 | 1 | -2/+2 |
| | | | As requested by @dom96, this fixes an issue seen here: https://github.com/nim-lang/redis/pull/4#issuecomment-312713921 | ||||
* | Add 'hostname' param to wrapConnectedSocket | Ruslan Mustakov | 2017-05-04 | 1 | -1/+8 |
| | |||||
* | Implement dial, support IPv6 in httpclient (#5763) | Ruslan Mustakov | 2017-05-02 | 1 | -0/+11 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 Rumpf | 2017-03-27 | 1 | -12/+4 |
| | |||||
* | Implement SSL SNI hostname setting for asyncnet. | Dominik Picheta | 2017-02-08 | 1 | -0/+5 |
| | |||||
* | deprecated nativesockets.dealloc, use freeAddrInfo instead; fixed stdlib ↵ | Andreas Rumpf | 2017-01-30 | 1 | -2/+2 |
| | | | | deprecations | ||||
* | Add async IO overview to asyncnet module docs. | Dominik Picheta | 2017-01-06 | 1 | -1/+39 |
| | |||||
* | Add OptReuseAddr to example and handle closing | Federico Ceratto | 2017-01-02 | 1 | -0/+2 |
| | |||||
* | Fixes #4587. | Dominik Picheta | 2016-09-25 | 1 | -2/+19 |
| | |||||
* | Fixes #3847. | Dominik Picheta | 2016-09-25 | 1 | -6/+24 |
| | |||||
* | Removed tests with `asyncio`. | cheatfate | 2016-09-07 | 1 | -3/+8 |
| | | | | | Fix ssl connection drop in asyncnet Add tasyncssl test | ||||
* | Some small fixes to changes introduced by #4683. | Dominik Picheta | 2016-09-06 | 1 | -0/+2 |
| | |||||
* | Revert function names scheme due to the @dom96 comment | Anatoly Galiulin | 2016-09-06 | 1 | -4/+4 |
| | |||||
* | Fix typo | Anatoly Galiulin | 2016-09-06 | 1 | -1/+1 |
| | |||||
* | Add async IO operations with buffers on files and sockets | Anatoly Galiulin | 2016-09-06 | 1 | -3/+64 |
| | |||||
* | Fix broken asyncnet module. | Dominik Picheta | 2016-06-03 | 1 | -1/+1 |
| | |||||
* | Fixed some warnings in httpclient, net, and openssl. | Dominik Picheta | 2016-04-04 | 1 | -4/+2 |
| | |||||
* | Improved asyncnet docs (SSL procs now shown). Deprecated handshake. | Dominik Picheta | 2016-04-04 | 1 | -9/+11 |
| | |||||
* | Rename rawsockets module to nativesockets | Adam Strzelecki | 2015-10-03 | 1 | -5/+6 |
| | | | | | | | | | | This change was done to avoid confusion with TCP/IP raw sockets. Native sockets module represents handling native system low level socket API in general and is not just limited anyhow to TCP/IP raw sockets. A stub lib/deprecated/pure/rawsockets.nim module has been added as compatibility layer for old code using rawsockets, so this change will not break existing code. | ||||
* | Fixes asyncnet.recvLine. Fixes #3346. | Dominik Picheta | 2015-09-19 | 1 | -0/+1 |
| | |||||
* | Reintroduce FutureVar[T] from commit 72b4912c84b16644657. | Dominik Picheta | 2015-09-11 | 1 | -9/+25 |
| | |||||
* | Free SSL handler to avoid memory leaks | Bruce Doan | 2015-07-31 | 1 | -1/+1 |
| | |||||
* | Fixes socket problems on Windows and normalises some names. | Dominik Picheta | 2015-06-29 | 1 | -15/+22 |
| | | | | Ref #2976. Ref #2003. See news.txt for details. | ||||
* | Make newAsyncSocket AF_INET6 the default domain. | Andrew Yourtchenko | 2015-06-23 | 1 | -1/+1 |
| | |||||
* | Make asyncnet.bindAddr IPv4+IPv6 compatible. | Andrew Yourtchenko | 2015-06-23 | 1 | -15/+12 |
| | |||||
* | Adjustments to #2610. | Dominik Picheta | 2015-06-22 | 1 | -1/+10 |
| | |||||
* | Merge branch 'starttls' of https://github.com/wiml/Nim into wiml-starttls | Dominik Picheta | 2015-06-22 | 1 | -0/+9 |
|\ | | | | | | | | | Conflicts: lib/pure/net.nim | ||||
| * | Make the post-connection wrapSocket() call available in both the synchronous ↵ | Wim Lewis | 2015-04-26 | 1 | -9/+4 |
| | | | | | | | | and asynchrinous net modules. |