[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #2205 [Tor Relay]: private network of nodes running master doesn't allow client requests to complete



#2205: private network of nodes running master doesn't allow client requests to
complete
-----------------------+----------------------------------------------------
 Reporter:  Sebastian  |       Owner:                    
     Type:  defect     |      Status:  needs_review      
 Priority:  major      |   Milestone:  Tor: 0.2.3.x-final
Component:  Tor Relay  |     Version:                    
 Keywords:             |      Parent:                    
-----------------------+----------------------------------------------------

Comment(by cypherpunks):

 Replying to [comment:26 cypherpunks]:
 > Openssl calling a callback with another type for SSL_ST_OK:

 Skiped to much, skiped another cb too:
 {{{
                 case SSL_ST_OK:
                         /* clean a few things up */
                         ssl3_cleanup_key_block(s);

                         BUF_MEM_free(s->init_buf);
                         s->init_buf=NULL;

                         /* remove buffering on output */
                         ssl_free_wbio_buffer(s);

                         s->init_num=0;

                         if (s->new_session == 2) /* skipped if we just
 sent a HelloRequest */
                                 {
                                 /* actually not necessarily a 'new'
 session unless
                                  *
 SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION is set */

                                 s->new_session=0;

                                 ssl_update_cache(s,SSL_SESS_CACHE_SERVER);

                                 s->ctx->stats.sess_accept_good++;
                                 /* s->server=1; */
                                 s->handshake_func=ssl3_accept;

                                 if (cb != NULL)
 cb(s,SSL_CB_HANDSHAKE_DONE,1);
                                 }

                         ret = 1;
                         goto end;
                         /* break; */
 }}}
 SSL_CB_HANDSHAKE_DONE more usefull for fixing of "bug2205_idea".

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/2205#comment:27>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs