logo       

Re: Missing peer_connection::setup_send() in peer_connection::on_connection: msg#00067

network.bit-torrent.libtorrent

Subject: Re: Missing peer_connection::setup_send() in peer_connection::on_connection_complete()?

On Apr 30, 2006, at 14:49, Tianhao Qiu wrote:

Hi Arvid,

Arvid Norberg wrote:
On Apr 28, 2006, at 13:44, Arvid Norberg wrote:
It looks like the anonymous cvs still hasn't been updated since it went
down. The peer_connection::on_connection_complete() doesn't look like that
anymore.

I have looked into the recent snapshot (060430). But the peer_connection::on_connection_complete() looks the same as the old snapshot. There is still no call to peer_connection::setup_send() after m_connecting = false. Shouldn't setup_send() be called immediately after the connection is completed?

It sounds reasonable. I will take a look at this and see why it works as it is. Do you have a case where the buffer doesn't get sent? and it can't connect to other peers?

thanks.
--
Arvid Norberg




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise