aboutsummaryrefslogtreecommitdiffstats
path: root/net/connect.lua
Commit message (Collapse)AuthorAgeFilesLines
* net.connect: Allow passing TLS context from resolverKim Alvefur2022-01-211-1/+2
| | | | | | Only allowing it to be passed directly makes it hard to combine plain (i.e. starttls) and Direct TLS connections in the same connection resolution procedure. But now we can, using chained resolvers!
* net.connect: Prefer last connection error over last resolver errorKim Alvefur2021-11-131-1/+1
| | | | | E.g. "connection refused" over one IP version instead of NoError for the other IP version.
* net.connect: Propagate last error message from resolversKim Alvefur2021-11-121-2/+2
| | | | | | | | Previously it would only say "unable to resolve server" for all DNS problems. While "NoError in A lookup" might not make much sense to users, it should help in debugging more than the previous generic error. Friendlier errors will be future work.
* net.connect: Remove TODO about use_ipv4/6 done in 3bfb20be844cKim Alvefur2020-06-221-1/+0
|
* Backed out changeset 44ef46e1a951 (not optimal API)Matthew Wild2020-01-251-21/+12
|
* net.connect: Add API to create custom connect()s with options, incl. use_ipv[46]Matthew Wild2020-01-241-12/+21
|
* net.connect: Mention RFC 6724 regressionKim Alvefur2019-12-071-0/+1
| | | | | Default Address Selection algorithm is not applied, resulting in a strong bias towards IPv4.
* net.connect: Add some TODOs and FIXMEsKim Alvefur2019-12-071-1/+3
| | | | And mention issue numbers: #1246, #1428 and #1429
* net.connect: Add some TODO commentsKim Alvefur2019-11-261-0/+4
|
* net.*: Remove tostring call from loggingKim Alvefur2019-07-301-1/+1
| | | | Taken care of by loggingmanager now
* net.connect: Fix passing request table to new listenerKim Alvefur2018-09-261-1/+1
| | | | This could be a return value from ondetach
* net.connect: Remove manual onattach callback invocationKim Alvefur2018-09-261-3/+0
|
* net.connect: Fix to store correct parameterMatthew Wild2018-02-261-1/+1
|
* net.connect: Improve error messageMatthew Wild2018-02-261-1/+1
|
* net.connect: Handle immediate failures of server.addclientMatthew Wild2018-02-261-1/+6
|
* net.connect: Handle case when resolver runs out of targetsMatthew Wild2018-02-261-0/+8
|
* net.connect: Track last connection errorMatthew Wild2018-02-261-1/+2
|
* net.connect: Default to *a pattern if none providedMatthew Wild2018-02-231-1/+1
|
* net.connect: New API for outgoing connections, based on 'service resolvers'Matthew Wild2018-02-231-0/+78