Zhichao Hong wrote:
> I have sent email about a client hangs when trying to communicating
> with server using 0.9.7e version of the openssl. When looking into the
> debugger stack trace, the ssl3_read_n blocks forever in the s3_pkt.c.
> When I browsed the cvs change history, the following issue was fixed
> later in Nov 2006.  I am wondering without the fix (i.e. setting
> s->first_packet to 0), will it cause some kind of locked up?
>
> --- s3_pkt.c  2004/05/15 17:46:50     1.46.2.7
> +++ s3_pkt.c  2006/11/29 14:44:07     1.46.2.8
> @@ -275,11 +275,7 @@
>               n2s(p,rr->length);
>
>               /* Lets check version */
> -             if (s->first_packet)
> -                     {
> -                     s->first_packet=0;
> -                     }
> -             else
> +             if (!s->first_packet)
>                       {
>                       if (version != s->version)
>                               {
>
> Any insight will be very appreciated
Hmm, the full commit is at
  http://cvs.openssl.org/chngview?cn=15686

Best regards,
    Lutz
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to