Nim/web
Ruslan Mustakov ecf278c467 Implement dial, support IPv6 in httpclient (#5763)
* 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
2017-05-02 09:25:50 +02:00
..
assets Add 0.16.0 release notes. 2017-01-07 14:37:46 +00:00
news Implement dial, support IPv6 in httpclient (#5763) 2017-05-02 09:25:50 +02:00
snippets examples: Trim .nim files trailing whitespace 2015-09-04 23:05:22 +02:00
bountysource.nim More accurate generation of sponsors list. 2016-09-04 14:45:50 +02:00
bountysource.nim.cfg Update bountysource sponsors. 2017-02-14 21:07:28 +01:00
community.rst website: http to https updates 2017-02-06 22:43:07 +01:00
documentation.rst News articles are now placed in separate pages. 2016-06-04 22:06:50 +01:00
download.rst website update; fixes #5422 2017-03-30 12:24:11 +02:00
inactive_sponsors.csv Update bountysource sponsors. 2017-02-14 21:07:28 +01:00
index.rst minor website improvements 2016-11-28 12:54:55 +01:00
learn.rst News articles are now placed in separate pages. 2016-06-04 22:06:50 +01:00
links.rst News articles are now placed in separate pages. 2016-06-04 22:06:50 +01:00
news.rst Added news 2017-01-20 13:06:03 +02:00
nimblepkglist.nim release of 0.10.2 2014-12-29 10:32:00 +01:00
question.rst minor website improvement 2017-03-01 10:28:51 +01:00
sponsors.csv Update bountysource sponsors. 2017-02-14 21:07:28 +01:00
support.rst yay, I'm free again 2016-11-01 08:19:05 +01:00
ticker.html updated to version 0.16.0 2017-01-07 21:44:40 +01:00
website.ini attempt to make travis OSX tests green and mandatory 2017-03-29 10:14:03 +02:00