Граф коммитов

38 Коммитов

Автор SHA1 Сообщение Дата
wtc%netscape.com 00b5f915b1 Bugzilla bug 119340: added a debug printf statement. 2002-01-16 03:29:06 +00:00
kirk.erickson%sun.com 16711e5b7a Fixed termination when using -L 30 (see bug 107777).
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.
2002-01-11 01:03:28 +00:00
kirk.erickson%sun.com 594b685c88 Fixes bug 107777. Added '-L <seconds>' argument (ops/sec logging).
Review by Nelson and Wan-Teh made this patch very clean.  We are
now creating a separating logger() thread.
2001-11-27 20:08:57 +00:00
kirk.erickson%sun.com 5bea4cf7cd Resolves 107777 - selfserv needs log stats mode 2001-11-13 02:13:19 +00:00
ian.mcgreer%sun.com fca7e6b8dd Output validated cert text to stdout, otherwise the QA scripts think there is a failure. 2001-11-09 16:40:26 +00:00
nelsonb%netscape.com 39b30b542f Added a new -o option, to override check on received client auth certs,
forcing those certs to be OK.  -v will now test the SSL_LocalCertificate()
function.  Bug 78959.
2001-11-09 05:45:21 +00:00
nelsonb%netscape.com 2554d51a97 Reimplement SSL_GetChannelInfo. Add new function SSL_GetCipherSuiteInfo().
Also, implement new ciphersuite preference order.  Bug 78959.
2001-11-02 04:24:28 +00:00
jpierre%netscape.com 9ee87136b0 Fix for 102089 - add a new "-l" command-line option to selfserv to use local threads . This enables NT fibers on Windows NT 2001-09-29 00:35:54 +00:00
jpierre%netscape.com 20857c3ade Fix for bug 101617 - make selfserv work in multi process mode on Windows NT 2001-09-28 02:43:48 +00:00
nelsonb%netscape.com 7cf0e718c5 Correct the test for length of data in SSL channel info struct. 2001-09-26 04:22:55 +00:00
nelsonb%netscape.com ccfc6e2c04 Add support for new TLS AES ciphersuites. Bug 87021. 2001-09-21 03:09:32 +00:00
nelsonb%netscape.com 54818a7fb9 Use new function SSL_GetChannelInfo(). Bugzilla bug 78959.
Also, reduce size of SSL server session cache on disk.
2001-09-18 02:05:08 +00:00
nelsonb%netscape.com 86f90d079c Remove unnecessary global tables of cipherSuite numbers. This solves
a problem with gcc on Linux, which overrides local/automatic definitions
with global ones.
2001-04-11 20:03:22 +00:00
nelsonb%netscape.com eb25bb6dde Fix leak of cert reference in cert authentication callback functions. 2001-03-30 00:40:24 +00:00
nelsonb%netscape.com ca6b48b951 Use $TMP, $TMPDIR, or $TEMP for directory to hold server SID cache file.
Implements RFE 70617.
2001-03-02 02:52:21 +00:00
nelsonb%netscape.com b63a17a085 Make SSL API consistent in using SECStatus as return value for functions
that return only values in that enumeration.  Bug 68097. R&A = relyea.
Modified Files:
 	lib/ssl/ssl.h lib/ssl/sslauth.c lib/ssl/sslsecur.c
 	lib/ssl/sslsnce.c lib/ssl/sslsock.c cmd/selfserv/selfserv.c
 	cmd/strsclnt/strsclnt.c
2001-02-09 00:32:14 +00:00
nelsonb%netscape.com b479e91c24 Changes suggested by Wan-Teh. 2001-02-08 01:32:32 +00:00
nelsonb%netscape.com df7089bf47 Big changes to get better SSL performance out of selfserv.
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.
2001-02-07 01:56:30 +00:00
wtc%netscape.com 04242819d4 I found that #include <unistd.h> is still needed on Unix for getpid(). 2001-01-31 19:18:09 +00:00
wtc%netscape.com 3b35a98af6 Bugzilla bug #62855: checked in OS/2 patches from Javier Pedemonte
<pedemont@us.ibm.com>.
Modified files: selfserv.c, swfutl.c, os2_rand.c.
2001-01-31 19:09:48 +00:00
wtc%netscape.com 1568621522 We can just pass NULL as the 'envp' argument to PR_CreateProcess, so we
do not need to get the declaration of 'environ' on Unix.  Reviewed by
Nelson Bolyard.
2001-01-31 03:39:59 +00:00
nelsonb%netscape.com f54215d441 Add multi-process server capability to selfserv. Bug 66630.
New -M command line option runs multiple selfserv processes,
all serving in parallel on the same TCP listen socket.
2001-01-27 00:36:15 +00:00
sonmi%netscape.com 652ab2714c do_accept now ignores the PR_CONNECT_RESET_ERROR 2001-01-23 04:56:53 +00:00
sonmi%netscape.com 189f2c68ac changed the stopQ conditionvariable to theadQ 2001-01-17 02:26:27 +00:00
nelsonb%netscape.com 39d089077d Add implementation of SSL_RSA_WITH_RC4_128_SHA SSL3 cipher suite,
which is not enabled by default.  Bug 59795.
2001-01-13 02:05:15 +00:00
nelsonb%netscape.com 6b5c136c73 Suppress EOF messages unless running with -v. Bug 60879. 2001-01-13 00:55:30 +00:00
nelsonb%netscape.com 54be2d9937 Stop using deprecated SSL functions. Convert them to the supported ones. 2001-01-06 02:40:02 +00:00
nelsonb%netscape.com 8aed37f6f6 Changes to deal with exporting data from Windows DLLs.
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.
2001-01-05 01:38:26 +00:00
larryh%netscape.com cf691e615e Bugzilla: 64132. NSS lock instrumentation 2001-01-03 19:51:22 +00:00
kirke%netscape.com 8d8152bb9c Made argument processing more robust (ala stresclnt.c). We now detect
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').
2001-01-02 22:19:55 +00:00
larryh%netscape.com c7932a6232 Bugzilla: 62396, fix threads in selfserv.c 2000-12-09 01:35:54 +00:00
nelsonb%netscape.com f31174dc10 Prefix all selfserv's output messages with "selfserv: " so we can tell
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.
2000-10-05 04:14:44 +00:00
relyea%netscape.com 8ddbdf24c4 Add option to get the server pid so we can kill the server later. 2000-09-13 21:25:13 +00:00
relyea%netscape.com 41437958c8 merge changes from NSS 3.0 branch to allow NT automated tests to work. 2000-06-29 21:25:41 +00:00
nelsonb%netscape.com 7d4e22e9f7 Correct the implementation of the options for disabling SSL2, SSL3 and TLS.
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.
2000-05-24 03:44:50 +00:00
relyea%netscape.com f33f43b0fb 1) add code to allow selfserv to reuse existing listen ports when they are 'just haning around' (allows our test suits to run when starting and stopping the server all the time).
2) flush out any server output so it doesn't get lost from out test suites
2000-05-16 17:25:42 +00:00
relyea%netscape.com 2551814b35 Update makefiles so NT will build. (and other platforms that don't have symbolic links) 2000-04-03 21:41:33 +00:00
relyea%netscape.com 5dea64f5a5 Initial NSS Open Source checkin 2000-03-31 20:13:40 +00:00