1
0
mirror of https://github.com/moparisthebest/curl synced 2025-03-03 18:59:46 -05:00
Daniel Stenberg d0688dcbdf
socks: use the download buffer instead
The SOCKS code now uses the generic download buffer for temporary
storage during the connection procedure, instead of having its own
private 600 byte buffer that adds to the connectdata struct size. This
works fine because this point the buffer is allocated but is not use for
download yet since the connection hasn't completed.

This reduces the connection struct size by 22% on a 64bit arch!

The SOCKS buffer needs to be at least 600 bytes, and the download buffer
is guaranteed to never be smaller than 1000 bytes.

Closes #6491
2021-01-20 08:54:19 +01:00
..
2021-01-19 16:56:35 +01:00
2021-01-19 17:08:49 +01:00
2021-01-19 09:14:40 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2021-01-19 09:14:51 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2021-01-19 17:07:02 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2021-01-19 09:14:51 +01:00
2021-01-19 09:14:51 +01:00
2021-01-19 16:56:35 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2021-01-11 15:12:25 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2021-01-19 17:08:49 +01:00
2021-01-19 17:08:49 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2021-01-19 17:07:02 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2021-01-19 09:14:51 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2021-01-19 09:14:40 +01:00
2020-12-26 23:54:25 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2021-01-11 15:12:25 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2021-01-19 09:14:51 +01:00
2021-01-19 09:14:51 +01:00
2021-01-19 09:14:51 +01:00
2020-11-04 23:59:47 +01:00
2021-01-19 17:07:02 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2021-01-19 09:14:51 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2021-01-19 09:14:40 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2021-01-19 09:14:51 +01:00
2021-01-19 09:14:51 +01:00
2021-01-19 09:14:51 +01:00
2021-01-19 09:14:51 +01:00
2021-01-19 09:14:51 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2021-01-19 16:56:35 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2021-01-19 09:14:51 +01:00
2020-12-18 09:58:04 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2021-01-19 17:07:02 +01:00
2020-11-04 23:59:47 +01:00
2021-01-19 09:14:51 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2021-01-19 09:14:51 +01:00
2021-01-19 09:14:51 +01:00
2021-01-20 08:54:19 +01:00
2021-01-19 09:14:51 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-11-05 08:22:10 +01:00
2020-12-26 23:54:25 +01:00
2020-11-04 23:59:47 +01:00
2021-01-19 09:14:51 +01:00
2020-11-05 08:22:10 +01:00
2021-01-19 17:07:02 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2021-01-19 17:07:02 +01:00
2021-01-19 17:07:02 +01:00
2021-01-19 09:14:51 +01:00
2021-01-20 08:54:19 +01:00
2020-11-04 23:59:47 +01:00
2020-11-04 23:59:47 +01:00
2020-12-18 09:58:03 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00
2020-11-05 08:22:10 +01:00
2020-11-04 23:59:47 +01:00