3proxy/src
Vladimir Dubrovin 36979639b7
Some checks are pending
C/C++ CI Linux / ${{ matrix.target }} (ubuntu-24.04-arm) (push) Waiting to run
C/C++ CI Linux / ${{ matrix.target }} (ubuntu-latest) (push) Waiting to run
C/C++ CI MacOS / ${{ matrix.target }} (macos-15) (push) Waiting to run
C/C++ CI Windows / ${{ matrix.target }} (windows-2022) (push) Waiting to run
C/C++ CI cmake / ${{ matrix.target }} (macos-15) (push) Waiting to run
C/C++ CI cmake / ${{ matrix.target }} (ubuntu-24.04-arm) (push) Waiting to run
C/C++ CI cmake / ${{ matrix.target }} (ubuntu-latest) (push) Waiting to run
C/C++ CI cmake / ${{ matrix.target }} (windows-2022) (push) Waiting to run
C/C++ CI cmake / ubuntu-latest (wolfSSL) (push) Waiting to run
Reserve stack for wolfSSL's static TLS, and report a failed thread
wolfSSL reserves about 48K of static thread-local storage. glibc counts
that against the thread stack, so pthread_create() was refused with EINVAL
and no service thread was ever created: the process started, listened on
nothing, logged nothing and waited forever on the semaphore the thread was
supposed to release. Every wolfSSL build on glibc was affected.

Add that reserve to the thread stack when built against wolfSSL. musl puts
the block beside the stack rather than inside it and needs nothing extra,
and OpenSSL has no static TLS at all, so neither pays for it.

Check the pthread_create() return value as well, so a thread that cannot be
created reports itself and suggests stacksize instead of hanging.
2026-08-25 19:05:10 +03:00
..
libs fix wolfSSL, switch minimal/busybox to musl+wolfssl 2026-07-31 11:27:10 +03:00
plugins Minor FilePlugin cleanup 2026-08-08 23:06:36 +03:00
3proxy_crypt.c wolfSSL support added 2026-07-13 20:24:51 +03:00
3proxy.c Fix warnings 2026-08-08 21:58:53 +03:00
3proxy.ico build rc file from res 2020-11-22 02:14:53 +03:00
3proxy.rc Copyright update 2021-07-02 11:50:33 +03:00
acl.c Support acls for UDP ASSOC, fix udppm via SOCKSv5 2026-08-11 19:02:54 +03:00
auth.c Support acls for UDP ASSOC, fix udppm via SOCKSv5 2026-08-11 19:02:54 +03:00
authradius.c Fix deadcode / warnings / minor bugs 2026-07-31 18:55:59 +03:00
auto.c Fix deadcode / warnings / minor bugs 2026-07-31 18:55:59 +03:00
base64.c Add outsize parameter to en64 2026-08-08 17:58:49 +03:00
common.c Reserve stack for wolfSSL's static TLS, and report a failed thread 2026-08-25 19:05:10 +03:00
conf.c Reserve stack for wolfSSL's static TLS, and report a failed thread 2026-08-25 19:05:10 +03:00
datatypes.c Fix deadcode / warnings / minor bugs 2026-07-31 18:55:59 +03:00
dnspr.c Disable splice support 2026-08-01 09:38:49 +03:00
ftp.c Minor cleanups 2026-05-13 23:21:13 +03:00
ftppr.c replace recursion with loop for local redirects, fix wolfSSL build 2026-07-31 15:44:22 +03:00
hash.c Fix warnings 2026-08-08 21:58:53 +03:00
hashtables.c Fix deadcode / warnings / minor bugs 2026-07-31 18:55:59 +03:00
imapp.c Add outsize parameter to en64 2026-08-08 17:58:49 +03:00
limiter.c Copyright update 2026-05-08 18:07:08 +03:00
log.c replace recursion with loop for local redirects, fix wolfSSL build 2026-07-31 15:44:22 +03:00
Makefile initial import to git 2014-04-08 13:03:21 +04:00
Makefile.inc Added imapp, starttls support for smtpp, pop3p, tlspr 2026-07-22 16:15:50 +03:00
mdhash.c fix wolfSSL build 2026-07-13 20:50:27 +03:00
mdhash.h wolfSSL support added 2026-07-13 20:24:51 +03:00
pcre.c Fix: pcre/ssl command handlers broken in last commits 2026-07-26 15:51:55 +03:00
pcre.h Move PCRE/SSL to main code 2026-05-01 15:11:08 +03:00
plugins.c Added imapp, starttls support for smtpp, pop3p, tlspr 2026-07-22 16:15:50 +03:00
pop3p.c replace recursion with loop for local redirects, fix wolfSSL build 2026-07-31 15:44:22 +03:00
proxy.c Fix: descriptors leak in proxy.c 2026-08-08 21:31:54 +03:00
proxy.h Reserve stack for wolfSSL's static TLS, and report a failed thread 2026-08-25 19:05:10 +03:00
proxymain.c Fix: -Ne/-Ni, -4 / -6 handling for udp mapping in socks, mixed family support in udp 2026-08-12 16:25:12 +03:00
redirect.c FIx: support extip / ha for SOCKSv5 udp associate 2026-08-10 17:18:57 +03:00
resolve.c Check DNS reply source in udpresolve 2026-08-12 15:32:30 +03:00
smtpp.c Add outsize parameter to en64 2026-08-08 17:58:49 +03:00
sockgetchar.c Use memmove for overlapping region 2026-08-08 20:46:52 +03:00
sockmap.c Use memmove for overlapping region 2026-08-08 20:46:52 +03:00
socks.c Fix: -Ne/-Ni, -4 / -6 handling for udp mapping in socks, mixed family support in udp 2026-08-12 16:25:12 +03:00
sql.c NOODBC inverted to WITH_ODBC 2026-05-08 20:30:14 +03:00
ssl.c Fix windows build, re-submit as 0.9.8 2026-08-07 19:16:00 +03:00
ssl.h Move PCRE/SSL to main code 2026-05-01 15:11:08 +03:00
ssllib.c Fix deadcode / warnings / minor bugs 2026-07-31 18:55:59 +03:00
stringtable.c Added imapp, starttls support for smtpp, pop3p, tlspr 2026-07-22 16:15:50 +03:00
structures.h Support acls for UDP ASSOC, fix udppm via SOCKSv5 2026-08-11 19:02:54 +03:00
tcppm.c replace recursion with loop for local redirects, fix wolfSSL build 2026-07-31 15:44:22 +03:00
tlspr.c Fix deadcode / warnings / minor bugs 2026-07-31 18:55:59 +03:00
udppm.c Support acls for UDP ASSOC, fix udppm via SOCKSv5 2026-08-11 19:02:54 +03:00
udpsockmap.c Fix: -Ne/-Ni, -4 / -6 handling for udp mapping in socks, mixed family support in udp 2026-08-12 16:25:12 +03:00
version.h publish as 0.9 branch (0.9.9.0) 2026-08-20 20:10:47 +03:00
webadmin.c replace recursion with loop for local redirects, fix wolfSSL build 2026-07-31 15:44:22 +03:00