of the SSL server session ID cache. Used to test the fix for bug 222726.
git-svn-id: svn://10.0.0.236/trunk@148121 18797224-902f-48f8-a5cc-f745e15eee43
Contributed by Sheuling Chang, Stephen Fung, Vipul Gupta, Nils Gura,
and Douglas Stebila of Sun Labs
git-svn-id: svn://10.0.0.236/trunk@148060 18797224-902f-48f8-a5cc-f745e15eee43
Both selfserv and strsclnt no longer OptimizeSpace. Moved SECMOD_DB
defines from nssinit.c to nss.h, make it availble for public use with
NSS_Initialize().
git-svn-id: svn://10.0.0.236/trunk@143104 18797224-902f-48f8-a5cc-f745e15eee43
a) changes selfserv to test the return value from NSS_Shutdown.
b) changes SECMOD_Shutdown to set the error code SEC_ERROR_BUSY before
returning SECFailure.
c) Adds a new function SSL_ShutdownServerSessionIDCache to ssl.h.
d) Changes selfserv to call SSL_ShutdownServerSessionIDCache before calling
NSS_Shutdown.
Modified Files:
cmd/selfserv/selfserv.c lib/pk11wrap/pk11util.c
lib/ssl/ssl.def lib/ssl/ssl.h lib/ssl/ssl3con.c
lib/ssl/sslimpl.h lib/ssl/sslsnce.c
git-svn-id: svn://10.0.0.236/trunk@140305 18797224-902f-48f8-a5cc-f745e15eee43
Instead, we try to bind to the port in a loop until the port has been
freed. Added the -b (bindOnly) option to selfserv for this purpose.
Modified files: cmd/selfserv/selfserv.c tests/common/init.sh tests/ssl/ssl.sh
git-svn-id: svn://10.0.0.236/trunk@129045 18797224-902f-48f8-a5cc-f745e15eee43
standard output (fd 1) instead of standard error (fd 2) because the test
script writes its output to standard output (with the echo command).
git-svn-id: svn://10.0.0.236/trunk@113735 18797224-902f-48f8-a5cc-f745e15eee43
"selfserv process not detectable" errors on Linux and I don't have
time to get to the bottom of it.
Modified files:
cmd/selfserv/selfserv.c tests/common/init.sh tests/ssl/ssl.sh
git-svn-id: svn://10.0.0.236/trunk@113271 18797224-902f-48f8-a5cc-f745e15eee43
This is a temporary solution, creating SYSTEM rather than USER loggerThread.
Later we should create a USER thread, Interrupt, and tell the thread to exit.
git-svn-id: svn://10.0.0.236/trunk@111907 18797224-902f-48f8-a5cc-f745e15eee43
Review by Nelson and Wan-Teh made this patch very clean. We are
now creating a separating logger() thread.
git-svn-id: svn://10.0.0.236/trunk@109009 18797224-902f-48f8-a5cc-f745e15eee43
forcing those certs to be OK. -v will now test the SSL_LocalCertificate()
function. Bug 78959.
git-svn-id: svn://10.0.0.236/trunk@107731 18797224-902f-48f8-a5cc-f745e15eee43
a problem with gcc on Linux, which overrides local/automatic definitions
with global ones.
git-svn-id: svn://10.0.0.236/trunk@91989 18797224-902f-48f8-a5cc-f745e15eee43
Launch all connection handler threads at program startup, and reuse those
threads for new connections, rather than creating new threads for each
connection and having them terminate at the end of each connection.
The main thread is now the acceptor thread. It creates a queue of
accepted but unprocessed connections. NSPR Condition variables are used
to schedule the connection handler threads.
Only one GET /stop message is now required to terminate selfserv.
Note, the -2 (full duplex) option is temporarily disabled until I get it
to work with this new thread model.
Add new -D command line option to suppress TCP Nagle delays.
Used to verify the fix to bug 67898.
git-svn-id: svn://10.0.0.236/trunk@86429 18797224-902f-48f8-a5cc-f745e15eee43
do not need to get the declaration of 'environ' on Unix. Reviewed by
Nelson Bolyard.
git-svn-id: svn://10.0.0.236/trunk@85811 18797224-902f-48f8-a5cc-f745e15eee43
New -M command line option runs multiple selfserv processes,
all serving in parallel on the same TCP listen socket.
git-svn-id: svn://10.0.0.236/trunk@85597 18797224-902f-48f8-a5cc-f745e15eee43