Article delegate-en/4076 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
[Reference:<_A4075@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: SSL Buffer_Underflow
18 Aug 2008 18:53:51 GMT feedback@delegate.org (Yutaka Sato)
The DeleGate Project


Andre,

In message <_A4075@delegate-en.ML_> on 08/19/08(03:45:36)
you =?ISO-8859-1?Q?Andr=E9_Egners?= <p4yhqbdyi-c2jtqbg2qbvr.ml@ml.delegate.org> wrote:
 |Thanks for the informative input, it is much appreciated.

Maybe the enclosed patch is the simplest modification to let DeleGate
do the shutdown SSL in the appropriate way :)

Cheers,
Yutaka
--
  9 9   Yutaka Sato <y.sato@delegate.org> http://delegate.org/y.sato/
 ( ~ )  National Institute of Advanced Industrial Science and Technology
_<   >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan
Do the more with the less -- B. Fuller

*** dist/src/delegate9.8.4-pre5/filters/sslway.c	Tue Aug 12 14:36:48 2008
--- ./filters/sslway.c	Tue Aug 19 03:50:38 2008
***************
*** 3178,3183 ****
--- 3178,3184 ----
  	if( accSSL ){
  		int sd = SSL_get_shutdown(accSSL);
  		TRACE("C>> shutdown from client: %X",sd);
+ SSL_shutdown(accSSL);
  		if( sd & SSL_RECEIVED_SHUTDOWN ){
  			TRACE("C<< return shutdown to client");
  			SSL_shutdown(accSSL);

  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V