Commit Graph

95 Commits

Author SHA1 Message Date
Matthew Flatt
a137459b65 more error-message conversions and repairs 2012-05-27 11:29:21 -06:00
Matthew Flatt
06e94d510a openssl: another attempt to get SSL_shutdown right 2012-03-02 10:33:36 -07:00
Matthew Flatt
a976c56cb9 openssl: more little fixes
Fix an error message broken by earlier debugging, and also
fix long-standing shutdown problems. Move basic tests to more
standard location.
2012-03-01 20:34:53 -07:00
Matthew Flatt
fc2eb1c11c openssl: fix error handling
The recent thread-safety change wasn't right.
2012-03-01 15:43:04 -07:00
Matthew Flatt
14f03bcf5b openssl: thread safety
There are many SSL_() functions that produce return codes with more
information from SLL_get_error() and/or ERR_get_error(). Those need
to be grouped in an atomic section to ensure thread safety at the
level of Racket threads.
2012-03-01 11:02:48 -07:00
Matthew Flatt
1032ce8afe openssl: make ssl-set-verify!' and ssl-try-verify!' work on ports
Using the functions on a port triggers renegotiation of the
connection, which s useful for cases such as a web server that
requires a certificate only for certain paths. This functionality
also allows better testing of the SSL library.
2012-03-01 11:02:48 -07:00
Matthew Flatt
efcb607865 fix openssl problem
Read and write actions on an SSL port can trigger internal write
and read actions (i.e., the opposite direction). On the read side,
write pumping was performed too early before returning a "wait
for new input" event; SSL operations between the pumping and
return could trigger the need for pumping, but it never happened
because the socket was waiting for new input before taking any
new actions.

The problem would shows up specifically when Apache renegotiates
a connection to demand certificates from a client after first
determining the target of the request (i.e., when a certificate
is required ony for specific locations on the server).

Thenks to Sergey Pinaev, Timur Sufiev, and Neil Van Dyke.
2012-03-01 11:02:47 -07:00
Matthew Flatt
f54254e9b5 ssl library versions for Ubuntu 11.10 2011-11-18 01:58:31 -07:00
Eli Barzilay
84d24bac80 Works up to the current version number, which is "1.0.0e". 2011-09-16 10:48:18 -04:00
Jay McCarthy
5c4a5ceb81 Adding another variant of libssl for CentOS 2011-08-27 06:54:50 -06:00
Eli Barzilay
a6705c4f07 Typo fix 2011-08-03 22:00:22 -04:00
Eli Barzilay
3157955d40 ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
Ryan Culpepper
1b702a2ae3 docs reorganization
added tutorial, racket categories
  relabeled some other categories
  normalized manual names: de-bolded, changed some names
2011-07-01 17:16:53 -06:00
Robby Findler
69b5daa9e6 remove docs tests that no one was interested in 2011-07-01 11:38:09 +08:00
Matthew Flatt
9bceb885c7 make sure only one place initializes SSL 2011-06-30 10:53:19 -06:00
Eli Barzilay
ac26fe7554 A ton of @scheme*' -> @racket*' and related updates.
Also, updates some of the mzlib files to point at `racket/*' libraries
rather than to `scheme/*' ones.
2011-06-25 04:08:47 -04:00
Eli Barzilay
debd1f9f1e Recketizing much in `net/*', mass ".ss" -> ".rkt" conversion in .scrbl files.
(Some other minor things here and there.)
2011-06-20 04:27:14 -04:00
Robby Findler
507b1cd8fd moved the docs-complete library into rackunit
to avoid having a separate, new manual for the
  one library
2011-05-05 16:10:42 -05:00
Asumu Takikawa
4cc0af90aa Handle SSLv2 absence gracefully and update docs. 2011-04-25 17:56:45 -04:00
Robby Findler
e7d0029aea added lots of new tests that our documentation is complete 2011-04-25 13:24:43 -05:00
Matthew Flatt
ff6da2e43e add docs for openssl additions 2011-03-03 07:18:51 -07:00
Curtis Dutton
7a33c9cebb Adds ssl-try-verify! to the openssl package along with supporting procedures.
This enables an ssl server the option to communicate with both verified and unverified peers with the same listener.

Supporting API calls...

ssl-peer-verified? -> returns #t if an ssl-port's peer has presented a valid and verified certificate
ssl-peer-subject-name -> returns the subject field of the certificate presented by an ssl-port's peer
ssl-peer-issuer-name -> returns the issuer field of the certificate presented by an ssl-port's peer
2011-03-03 07:07:53 -07:00
Matthew Flatt
4afd36c9fd openssl: use libcrypto and libssl version 1.0 if available
and single point of control for all uses
2011-03-02 12:07:45 -07:00
David Van Horn
c9519fd113 Fixed various spelling errors. 2011-02-03 17:42:33 -05:00
Matthew Flatt
421519994d make SSL listeners events 2010-11-17 13:16:53 -07:00
Jay McCarthy
e847632456 OpenSSL more compatible with tcp unit 2010-10-06 10:41:09 -06:00
Matthew Flatt
16f1dffe4c add `ssl-port?' and add missing docs for two other procs 2010-08-19 16:14:11 -06:00
Matthew Flatt
a306a646e6 fix build for disabled FFI 2010-07-13 16:07:03 -06:00
Matthew Flatt
94799247ee add file/sha1 and use it in openssl/sha1 when OpenSSL fails to load 2010-07-13 16:07:03 -06:00
Eli Barzilay
2d9601089d A lot of "MzScheme" -> "Racket"s. 2010-05-16 18:26:26 -04:00
Matthew Flatt
1a5e662433 doc corrections and completions 2010-05-08 11:46:14 -06:00
Matthew Flatt
eb15dceb34 rackety misc docs 2010-05-07 09:13:51 -06:00
Matthew Flatt
3db8dd7c26 SHA1-based shortcut for compiler/cm 2010-04-30 16:30:10 -06:00
Matthew Flatt
28b4043077 rename all files .ss -> .rkt 2010-04-27 16:50:15 -06:00
Eli Barzilay
a0ff244a81 allow the extra argument in ssl-addresses
svn: r17447
2009-12-31 02:59:04 +00:00
Eli Barzilay
ff73a5395e removed lots of "the the"s
svn: r14679
2009-05-01 21:02:51 +00:00
Eli Barzilay
c0a8a01222 Changed @itemize{...} to @itemize[...] (done after comparing the doc
tree and verifying that there are no changes).
(Also fixed a few bugs that were in the code)

svn: r14427
2009-04-05 17:46:20 +00:00
Matthew Flatt
2eb5fb2a55 remove openssl constraint that attempting to read must lead to an actual read
svn: r14390
2009-03-31 19:35:08 +00:00
Matthew Flatt
2c813c53c5 fix '(nonnegative|positive)-exact-integer?' contracts (moving 'exact-' to the front where it belongs)
svn: r10960
2008-07-29 12:56:05 +00:00
Matthew Flatt
a26b334c67 proprocessor doc, merge scribblings and doc-categories fields
svn: r9414
2008-04-23 00:20:25 +00:00
Matthew Flatt
f28726ab4d fix bytecode writing of prefabs, add prop:sequence
svn: r9149
2008-04-03 14:07:52 +00:00
Eli Barzilay
bb34f747b6 make all files terminate with a newline
svn: r8786
2008-02-24 21:27:36 +00:00
Eli Barzilay
b1a08edd5a use new require specs in many places
svn: r8774
2008-02-23 09:42:03 +00:00
Eli Barzilay
3c72e71e24 switched info.ss files to #lang
svn: r8532
2008-02-04 23:00:35 +00:00
Eli Barzilay
d78396aaf9 remove unused blurb fields
svn: r8526
2008-02-04 17:16:06 +00:00
Matthew Flatt
9be7170b3a openssl scribblings
svn: r8392
2008-01-23 15:04:44 +00:00
Matthew Flatt
f12a39d97b added scheme/help
svn: r8016
2007-12-15 18:02:05 +00:00
Matthew Flatt
39cedb62ed v3.99.0.2
svn: r7706
2007-11-13 12:40:00 +00:00
Eli Barzilay
26ab4af5f7 made it possible to try several versions, use it in readline and openssl
svn: r6138
2007-05-04 06:08:48 +00:00
Eli Barzilay
9bf2deaa49 use system-type to identify 3m
svn: r6136
2007-05-04 05:54:05 +00:00