Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(157)

Delta Between Two Patch Sets: lib/DJabberd/Stanza/StartTLS.pm

Issue 2341: avoid ssl_eof error on SSL_WANT_READ and friends SVN Base: http://code.sixapart.com/svn/djabberd/trunk/DJabberd
Left Patch Set: fixes Created 1 year, 5 months ago
Right Patch Set: response to comments Created 1 year, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
LEFTRIGHT
(Both sides are equal)
1 package DJabberd::Stanza::StartTLS; 1 package DJabberd::Stanza::StartTLS;
2 use strict; 2 use strict;
3 use base qw(DJabberd::Stanza); 3 use base qw(DJabberd::Stanza);
4 use Net::SSLeay; 4 use Net::SSLeay;
5 5
6 Net::SSLeay::load_error_strings(); 6 Net::SSLeay::load_error_strings();
7 Net::SSLeay::SSLeay_add_ssl_algorithms(); 7 Net::SSLeay::SSLeay_add_ssl_algorithms();
8 Net::SSLeay::randomize(); 8 Net::SSLeay::randomize();
9 9
10 use constant SSL_ERROR_WANT_READ => 2; 10 use constant SSL_ERROR_WANT_READ => 2;
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 return 0; 126 return 0;
127 } 127 }
128 128
129 return $written; 129 return $written;
130 }; 130 };
131 } 131 }
132 132
133 1; 133 1;
134 134
135 # LocalWords: conn 135 # LocalWords: conn
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld r497