summaryrefslogtreecommitdiffstats
path: root/nss_engine_io.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix another place we should set PR_WOULD_BLOCK_ERROR during a read.rcritten2009-11-111-0/+1
|
* Return -1 on a read failure and set the appropriate NSPR error message.rcritten2009-02-191-1/+2
| | | | | | | | | | | This bug has lingered for so long since mod_nss wasn't able to be used with mod_proxy until now. What one would see with this bug is sometimes a page would work, sometimes not (just the headers would be retrieved). The problem was we were return 0 which means EOF and was interpreted by upper levels to mean the transfer was done rather than no data being available. 484380
* Resolves: 241936rcritten2007-05-311-4/+8
| | | | | | | | | | | Bring in some updates based on diffs from 2.0.59 to 2.2.4 - Do explicit TRUE/FALSE tests with sc->enabled to see if SSL is enabled. Don't depend on the fact that TRUE == 1 - Remove some dead code - Minor update to the buffer code that buffers POST data during a renegotation - Optimize setting environment variables by using a switch statement.
* Merge in changes from http://svn.apache.org/viewvc?view=rev&revision=290965rcritten2006-08-091-0/+176
| | | | | | | | | | | | | | | | | | Implement a (bounded) buffer of request body data to provide a limited but safe fix for the mod_nss renegotiation-vs-requests-with-bodies bug: * mod_nss.h (nss_io_buffer_fill): Add prototype. * nss_engine_io.c (nss_io_buffer_fill, nss_io_filter_buffer): New functions. * nss_engine_kernel.c (nss_hook_Access): If a renegotiation is needed, and the request has a non-zero content-length, or a t-e header (and 100-continue was not requested), call nss_io_buffer_fill to set aside the request body data if possible, then proceed with the negotiation. PR: 12355
* 188300rcritten2006-04-071-1/+1
| | | | Replace C++ style comments to make the Sun Forte compiler happy.
* Add support for Elliptical Curve Cryptography (ECC). This is disabledrcritten2006-03-021-2/+2
| | | | by default. To enable it, pass --enable-ecc to configure.
* Remove a debug msg that was left in on accident.rcritten2005-09-291-2/+0
|
* Earlier versions of Apache 2.0 (such as on RHEL 3) don't supportrcritten2005-06-291-0/+2
| | | | AP_BUCKET_IS_EOC. Define around it.
* Changed function and configuration names so mod_nss can peacefullyrcritten2005-05-311-65/+65
| | | | co-exist with mod_ssl.
* Initial import of mod_nssrcritten2005-05-171-0/+1194