Balakrishnan Balasubramanian
80eb71a3f5
tests: refactor server/socksd.c to support --unix-socket
...
Closes #8687
2022-04-17 11:43:57 +02:00
Daniel Stenberg
61cbb4b626
server/socksd: log atyp + address in a separate log
...
To allow the test suite to verify that the right data arrived
2022-01-03 22:32:05 +01:00
Daniel Stenberg
effd2bd7ba
socks5: use appropriate ATYP for numerical IP address host names
...
When not resolving the address locallly (known as socks5h).
Add test 719 and 720 to verify.
Reported-by: Peter Piekarski
Fixes #8216
Closes #8217
2022-01-03 22:32:05 +01:00
Marc Hoersken
b5abbc3d57
tests/server/*.c: align handling of portfile argument and file
...
1. Call the internal variable portname (like pidname) everywhere.
2. Have a variable wroteportfile (like wrotepidfile) everywhere.
3. Make sure the file is cleaned up on exit (like pidfile).
4. Add parameter --portfile to usage outputs everywhere.
Reviewed-by: Daniel Stenberg
Replaces #7523
Closes #7574
2021-08-17 21:43:31 +02:00
Daniel Stenberg
063d3f3b96
tidy-up: make conditional checks more consistent
...
... remove '== NULL' and '!= 0'
Closes #6912
2021-04-22 09:10:17 +02:00
XhmikosR
aadc75626b
misc: assorted typo fixes
...
Closes #6375
2020-12-26 23:54:25 +01:00
Daniel Stenberg
4d2f800677
curl.se: new home
...
Closes #6172
2020-11-04 23:59:47 +01:00
Daniel Stenberg
bcd9813588
tests: run the SOCKS test server on a dynamic port number
...
Closes #5266
2020-04-20 10:00:30 +02:00
Daniel Stenberg
4cd239fbf6
copyright: bump the copyright year range
2020-04-15 09:24:49 +02:00
Marc Hoersken
9869f6dc5a
tests/server: move all signal handling routines to util.[ch]
...
Avoid code duplication to prepare for portability enhancements.
2020-04-12 15:55:21 +02:00
Marcel Raad
e23c52b329
build: fix Codacy warnings
...
Reduce variable scopes and remove redundant variable stores.
Closes https://github.com/curl/curl/pull/3975
2019-06-05 20:38:06 +02:00
Daniel Gustafsson
0641086c2f
socksd: Fix typos
...
Reviewed-by: Daniel Stenberg <daniel@haxx.se>
2019-04-14 22:06:40 +02:00
Daniel Gustafsson
31238d5fb7
socksd: Properly decorate static variables
...
Mark global variables static to avoid compiler warning in Clang when
using -Wmissing-variable-declarations.
Closes #3778
Reviewed-by: Daniel Stenberg <daniel@haxx.se>
2019-04-14 22:06:09 +02:00
Daniel Stenberg
04fd67555c
socksd: new SOCKS 4+5 server for tests
...
Closes #3752
2019-04-13 11:21:35 +02:00