Vasil Dimov
af0fca530e
netbase: use reliable send() during SOCKS5 handshake
...
`send(2)` can be interrupted or for another reason it may not fully
complete sending all the bytes. We should be ready to retry the send
with the remaining bytes. This is what `Sock::SendComplete()` does,
thus use it in `Socks5()`.
Since `Sock::SendComplete()` takes a `CThreadInterrupt` argument,
change also the recv part of `Socks5()` to use `CThreadInterrupt`
instead of a boolean.
Easier reviewed with `git show -b` (ignore white-space changes).
2023-10-31 18:19:37 +01:00
..
2023-10-03 09:57:46 -04:00
2022-12-24 23:49:50 +00:00
2023-09-14 10:25:26 +10:00
2022-12-24 23:49:50 +00:00
2023-07-13 20:37:14 +02:00
2023-01-13 09:40:57 +00:00
2023-09-06 13:59:12 +02:00
2023-07-13 20:37:14 +02:00
2023-07-13 20:37:14 +02:00
2023-09-15 14:34:17 +02:00
2023-10-06 19:43:32 +02:00
2023-03-21 13:04:21 +00:00
2023-08-11 18:11:07 +02:00
2023-02-03 10:33:31 -05:00
2023-10-02 18:10:30 -04:00
2023-08-17 15:31:56 -04:00
2023-08-17 15:31:27 -04:00
2023-08-17 15:31:56 -04:00
2023-07-17 13:27:46 +02:00
2023-09-12 22:51:42 +02:00
2023-09-13 16:12:51 +02:00
2022-12-13 15:08:24 -05:00
2023-10-04 13:16:52 +01:00
2023-03-21 13:54:11 +01:00
2023-09-19 13:41:24 +02:00
2023-07-13 20:37:14 +02:00
2023-07-17 09:39:52 +02:00
2023-09-19 14:19:57 +00:00
2023-07-13 20:37:14 +02:00
2023-01-13 09:40:57 +00:00
2023-02-17 13:34:40 -05:00
2023-07-13 20:37:14 +02:00
2023-08-14 17:38:27 -04:00
2023-07-13 20:37:14 +02:00
2023-09-12 12:14:31 -04:00
2023-09-15 14:34:17 +02:00
2023-09-06 13:59:12 +02:00
2023-07-13 20:37:14 +02:00
2023-10-12 11:01:47 +01:00
2022-12-24 23:49:50 +00:00
2023-09-05 10:13:25 +02:00
2023-06-05 11:02:47 -04:00
2023-05-26 13:41:07 -03:00
2022-12-24 23:49:50 +00:00
2023-10-02 18:11:11 -04:00
2023-09-27 16:27:05 -04:00
2023-04-04 18:33:08 +02:00
2023-07-27 09:36:05 +02:00
2023-07-13 20:37:14 +02:00
2023-07-13 20:37:14 +02:00
2023-07-13 20:37:14 +02:00
2023-03-23 19:38:38 +01:00
2023-07-13 20:37:14 +02:00
2023-01-26 10:44:05 +01:00
2023-08-18 12:52:30 -04:00
2023-08-23 20:13:49 -04:00
2023-01-13 09:40:57 +00:00
2023-07-13 20:37:14 +02:00
2023-10-03 11:38:20 -04:00
2023-09-19 14:19:57 +00:00
2022-12-13 15:08:24 -05:00
2023-07-13 20:37:14 +02:00
2023-07-13 20:37:14 +02:00
2023-09-07 11:34:34 +01:00
2023-09-12 12:14:31 -04:00
2022-12-13 15:08:24 -05:00
2023-01-13 09:40:57 +00:00
2023-07-13 20:37:14 +02:00
2023-10-31 18:19:37 +01:00
2023-06-09 14:58:49 -04:00
2023-07-13 20:37:14 +02:00
2023-07-13 20:37:14 +02:00
2023-07-13 20:37:14 +02:00
2023-01-26 10:44:05 +01:00
2023-01-26 10:44:05 +01:00
2023-07-13 20:37:14 +02:00
2023-07-13 20:37:14 +02:00
2023-09-12 12:14:31 -04:00
2023-09-07 11:34:34 +01:00
2023-07-13 20:37:14 +02:00
2023-06-03 15:37:11 +02:00
2023-08-07 11:32:34 +02:00
2023-07-13 20:37:14 +02:00