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
SECHashObjects[] is no longer exported.
New function HASH_GetHashObject returns pointer to selected const object.
SSL statistics are now in a structure whose address is obtained via a
call to SSL_GetStatistics().
On NT, the new symbol NSS_USE_STATIC_LIBS must be declared in programs
that use the static SSL library.
Also, propagate "const" declaration for SECHashObjects.
git-svn-id: svn://10.0.0.236/trunk@84403 18797224-902f-48f8-a5cc-f745e15eee43
and fail when something on the command line is not recognized. Also
exiting with distinct status values for all error conditions (previously
we always exited with '1').
git-svn-id: svn://10.0.0.236/trunk@84271 18797224-902f-48f8-a5cc-f745e15eee43
client messages apart from server messages when the two are mixed.
When the verbose option is enabled, print out the session reuse stats
right after the first PR_Read completes, so we don't miss any.
git-svn-id: svn://10.0.0.236/trunk@80426 18797224-902f-48f8-a5cc-f745e15eee43
Add a new -R option to selfserv, which disables detection of rollback from
TLS to SSL3.0. This is necessary for testing with broken TLS clients.
git-svn-id: svn://10.0.0.236/trunk@70709 18797224-902f-48f8-a5cc-f745e15eee43
2) flush out any server output so it doesn't get lost from out test suites
git-svn-id: svn://10.0.0.236/trunk@70060 18797224-902f-48f8-a5cc-f745e15eee43