Changeset 3179
- Timestamp:
- Sep 26, 2007, 2:29:49 AM (15 years ago)
- Location:
- trunk/libtransmission
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/handshake.c
r3172 r3179 750 750 int len; 751 751 752 dbgmsg( handshake, "in readYa... need %d, have %d", (int)KEY_LEN, (int)EVBUFFER_LENGTH( inbuf ) ); 752 753 if( EVBUFFER_LENGTH( inbuf ) < KEY_LEN ) 753 754 return READ_MORE; … … 759 760 tr_sha1( handshake->myReq1, "req1", 4, secret, KEY_LEN, NULL ); 760 761 762 dbgmsg( handshake, "sending out our pad a" ); 761 763 /* send our public key to the peer */ 762 764 walk = outbuf; … … 769 771 setReadState( handshake, AWAITING_PAD_A ); 770 772 tr_peerIoWrite( handshake->io, outbuf, walk-outbuf ); 771 772 return READ_DONE; 773 return READ_AGAIN; 773 774 } 774 775 -
trunk/libtransmission/trevent.c
r3117 r3179 230 230 eh->lock = tr_lockNew( ); 231 231 eh->h = handle; 232 eh->pulseInterval = timevalMsec( 20 );232 eh->pulseInterval = timevalMsec( 50 ); 233 233 eh->thread = tr_threadNew( libeventThreadFunc, eh, "libeventThreadFunc" ); 234 234 }
Note: See TracChangeset
for help on using the changeset viewer.