Wrap both sides of the Telegram relay in connIdleTimeout, same as already done for domain fronting in #416. Without this, if a client disappears (network drop, battery dies), the TCP connection stays formally alive and the goroutine in the worker pool blocks on io.CopyBuffer indefinitely. Under mass client disconnects this accumulates zombie goroutines. Fixes #417tags/v2.2.5^2^2
|
|
||
| 105 |
|
105 |
|
| 106 |
|
106 |
|
| 107 |
|
107 |
|
| 108 |
|
|
|
| 109 |
|
|
|
|
108 |
|
|
|
109 |
|
|
| 110 |
|
110 |
|
| 111 |
|
111 |
|
| 112 |
|
112 |
|