Log of /httpd/flood/trunk/flood_net_ssl.c
Parent Directory
|
Revision Log
Revision
698796 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Thu Sep 25 01:47:23 2008 UTC
(15 years, 10 months ago)
by
jerenkrantz
File length: 9067 byte(s)
Diff to
previous 696055
(
colored)
Fix HTTP keepalives over SSL.
* flood_net_ssl.c
(ssl_check_socket): Implement.
* flood_net_ssl.h
(ssl_check_socket): Declare.
* flood_socket_keepalive.c
(ksock_check_socket, ksock_close_socket): Declare helper macros.
(keepalive_begin_conn): Use helper function to call appropriate checker.
(keepalive_end_conn): Use helper to close socket.
Revision
696055 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Tue Sep 16 21:01:30 2008 UTC
(15 years, 10 months ago)
by
jerenkrantz
File length: 8860 byte(s)
Diff to
previous 653656
(
colored)
Fix up various compiler warnings.
* flood_net_ssl.c, flood_net_ssl.h
(ssl_read_socket): Switch from int to apr_size_t.
* flood_socket_keepalive.c
(keepalive_read_chunk, keepalive_load_resp, keepalive_recv_resp): Switch
from int to apr_size_t.
* flood_round_robin.c
(round_robin_postprocess): Switch from int to apr_size_t.
* flood_net.c, flood_net.h
(read_socket): Switch from int to apr_size_t.
Revision
490946 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Fri Dec 29 07:49:58 2006 UTC
(17 years, 7 months ago)
by
jerenkrantz
Original Path:
httpd/test/trunk/flood/flood_net_ssl.c
File length: 8846 byte(s)
Diff to
previous 106525
(
colored)
Update flood to the new license header.
* flood/NOTICE: Update the copyright year to the date of first publication.
* flood/flood_farmer.c, flood/flood_report_relative_times.h,
flood/flood_simple_reports.h, flood/flood_test.c, flood/flood.c,
flood/flood_farmer.h, flood/flood_socket_generic.c, flood/flood_farm.c,
flood/flood_socket_generic.h, flood/flood_farm.h, flood/flood_config.c,
flood/flood_net_ssl.c, flood/flood_config.h, flood/flood_net_ssl.h,
flood/flood_socket_keepalive.c, flood/flood_easy_reports.c,
flood/flood_round_robin.c, flood/flood_socket_keepalive.h,
flood/flood_easy_reports.h, flood/flood_round_robin.h, flood/flood_net.c,
flood/flood_net.h, flood/flood_profile.c, flood/flood_profile.h,
flood/flood_report_relative_times.c, flood/flood_simple_reports.c:
Update to new license header.
(Used committers/relicense/src/perl/update-AL20.pl)
Revision
94572 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Tue Apr 9 08:01:23 2002 UTC
(22 years, 4 months ago)
by
aaron
Original Path:
httpd/test/trunk/flood/flood_net_ssl.c
File length: 10481 byte(s)
Diff to
previous 92718
(
colored)
Stop using the old apr_lock.h API and start just using the
apr_thread_mutex.h interface for everything. Also get rid of the
USE_RW_LOCK_FOR_SSL thing, since I don't see how it makes sense with
the new lock types (maybe it's just too late and my eyes are squinting
too much :). We didn't have an autoconf feature test for it or anything.
Revision
92314 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Tue Dec 4 09:38:53 2001 UTC
(22 years, 8 months ago)
by
jerenkrantz
Original Path:
httpd/test/trunk/flood/flood_net_ssl.c
File length: 10201 byte(s)
Diff to
previous 92003
(
colored)
- Look for certs dir in logical places if not overriden.
- Have knowledge of platforms with /dev/random and /dev/urandom where
OpenSSL will get the entropy on its own anyway. If --with-randfile is
not specified, we'll see if it even matters.
- Don't call RAND_load_file if we are relying on /dev/random.
Revision
91998 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Sat Nov 17 00:23:28 2001 UTC
(22 years, 9 months ago)
by
aaron
Original Path:
httpd/test/trunk/flood/flood_net_ssl.c
File length: 9745 byte(s)
Diff to
previous 91410
(
colored)
Conditionally compile these routines, only if FLOOD_HAS_OPENSSL
is defined.
Out damn compiler warning! Some of these routines were neither prototyped
nor declared static. I opted for the latter.
Added comments to remind us to:
- convert to the new APR lock API
- stop using the thread id as an identifier -- it's not crossplatform
Revision
91410 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Wed Oct 10 21:42:07 2001 UTC
(22 years, 10 months ago)
by
jerenkrantz
Original Path:
httpd/test/trunk/flood/flood_net_ssl.c
File length: 9517 byte(s)
Diff to
previous 90615
(
colored)
It'd help when testing mod_ssl if the test program could handle SSL
buffering correctly.
Call SSL_pending before doing the poll to see if we could satisfy
the current request without reading from the raw socket.
What a nightmare. mod_ssl has probably been working for a week. *Gag*
Revision
90002 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Tue Aug 7 19:37:09 2001 UTC
(23 years ago)
by
jerenkrantz
Original Path:
httpd/test/trunk/flood/flood_net_ssl.c
File length: 9122 byte(s)
Diff to
previous 90000
(
colored)
I partially retract my comment about the OpenSSL code, but I'll say that
the docs are misleading. It seems that you must *always* use the static
locking mechanisms and then, optionally, the dynamic locking mechanisms.
(Based on the man page, this doesn't seem to be the case...)
I'm not sure which locking implementation fits OpenSSL better. I saw
mixed results with APR_MUTEX vs. APR_READWRITE. So, both are implemented
and can be toggled with an #ifdef.
Doesn't *seem* to crash so far. That's good. Grr.
Revision
90000 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Tue Aug 7 19:00:23 2001 UTC
(23 years ago)
by
jerenkrantz
Original Path:
httpd/test/trunk/flood/flood_net_ssl.c
File length: 7685 byte(s)
Diff to
previous 89973
(
colored)
Get OpenSSL code stable. There are still some errors in the OpenSSL code,
but 95% of the time our threads complete - this is better than it was
(40-60% of our threads would get an error from OpenSSL).
Achieve this by the following actions:
- Remove the cafile logic in our OpenSSL calls as this is buggy code. Use
cadir logic instead. Now defaults to /tmp/certdir.
- Don't use BIO in OpenSSL as this OpenSSL code is buggy.
Revision
89966 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Mon Aug 6 23:16:43 2001 UTC
(23 years ago)
by
jerenkrantz
Original Path:
httpd/test/trunk/flood/flood_net_ssl.c
File length: 7607 byte(s)
Diff to
previous 89852
(
colored)
Add OpenSSL locking routines (doesn't seem to be used, but they say you
should have it - okay...)
Update configure to have randfile (/tmp/.rnd) and cafile (/tmp/certs.pem)
to pass to OpenSSL. These files must exist (and be valid) or OpenSSL is
going to throw a hissy fit. Also, use OpenSSL 0.9.6b by default.
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
enter a numeric revision.