Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | net: Prefix module imports with prosody namespace | Kim Alvefur | 2023-03-17 | 1 | -4/+4 |
| | |||||
* | net.connect: Clear TODO for Happy Eyeballs / RFC 8305, close #1246 | Kim Alvefur | 2022-08-19 | 1 | -1/+0 |
| | | | | Gotta have the DOAP references! | ||||
* | net.connect: Fix accumulation of connection attempt references | Kim Alvefur | 2022-04-20 | 1 | -0/+1 |
| | | | | | | | | | | | | | Connection attempts that failed the Happy Eyeballs race were not unreferenced and would accumulate. Tested by inspecting the 'pending_connections_map' after establishing s2s with a s2s target where the IPv6 port has a -j DROP rule causing it to time out and the IPv4 attempt wins the race. Expected is that the losing connection stays around until net.server timeouts kick in where it should be removed. The map table should tend towards being empty during idle times. | ||||
* | net.connect: Improve logging on connection attempt failure | Matthew Wild | 2022-03-21 | 1 | -1/+5 |
| | |||||
* | net.connect: Improve handling of failure when attempts are still pending | Matthew Wild | 2022-03-21 | 1 | -3/+11 |
| | | | | | This could lead to failure being reported too early, even if some connections have not yet failed. | ||||
* | net.connect: When more targets are immediately available, try them after a delay | Matthew Wild | 2022-03-18 | 1 | -1/+10 |
| | | | | RFC 8305 | ||||
* | net.connect: Support for multiple pending connection attempts | Matthew Wild | 2022-03-18 | 1 | -5/+10 |
| | |||||
* | net.connect: Allow passing TLS context from resolver | Kim Alvefur | 2022-01-21 | 1 | -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 error | Kim Alvefur | 2021-11-13 | 1 | -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 resolvers | Kim Alvefur | 2021-11-12 | 1 | -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 3bfb20be844c | Kim Alvefur | 2020-06-22 | 1 | -1/+0 |
| | |||||
* | Backed out changeset 44ef46e1a951 (not optimal API) | Matthew Wild | 2020-01-25 | 1 | -21/+12 |
| | |||||
* | net.connect: Add API to create custom connect()s with options, incl. use_ipv[46] | Matthew Wild | 2020-01-24 | 1 | -12/+21 |
| | |||||
* | net.connect: Mention RFC 6724 regression | Kim Alvefur | 2019-12-07 | 1 | -0/+1 |
| | | | | | Default Address Selection algorithm is not applied, resulting in a strong bias towards IPv4. | ||||
* | net.connect: Add some TODOs and FIXMEs | Kim Alvefur | 2019-12-07 | 1 | -1/+3 |
| | | | | And mention issue numbers: #1246, #1428 and #1429 | ||||
* | net.connect: Add some TODO comments | Kim Alvefur | 2019-11-26 | 1 | -0/+4 |
| | |||||
* | net.*: Remove tostring call from logging | Kim Alvefur | 2019-07-30 | 1 | -1/+1 |
| | | | | Taken care of by loggingmanager now | ||||
* | net.connect: Fix passing request table to new listener | Kim Alvefur | 2018-09-26 | 1 | -1/+1 |
| | | | | This could be a return value from ondetach | ||||
* | net.connect: Remove manual onattach callback invocation | Kim Alvefur | 2018-09-26 | 1 | -3/+0 |
| | |||||
* | net.connect: Fix to store correct parameter | Matthew Wild | 2018-02-26 | 1 | -1/+1 |
| | |||||
* | net.connect: Improve error message | Matthew Wild | 2018-02-26 | 1 | -1/+1 |
| | |||||
* | net.connect: Handle immediate failures of server.addclient | Matthew Wild | 2018-02-26 | 1 | -1/+6 |
| | |||||
* | net.connect: Handle case when resolver runs out of targets | Matthew Wild | 2018-02-26 | 1 | -0/+8 |
| | |||||
* | net.connect: Track last connection error | Matthew Wild | 2018-02-26 | 1 | -1/+2 |
| | |||||
* | net.connect: Default to *a pattern if none provided | Matthew Wild | 2018-02-23 | 1 | -1/+1 |
| | |||||
* | net.connect: New API for outgoing connections, based on 'service resolvers' | Matthew Wild | 2018-02-23 | 1 | -0/+78 |