[Pidgin] #13008: BOSH - http Connection is not closed when connection : close header is received

Pidgin trac at pidgin.im
Wed Jan 12 02:35:59 EST 2011


#13008: BOSH - http Connection is not closed when connection : close header is
received
------------------------------------+---------------------------------------
 Reporter:  hsitas444               |        Owner:  deryni
     Type:  defect                  |       Status:  closed
Milestone:  2.7.10                  |    Component:  XMPP  
  Version:  2.7.5                   |   Resolution:  fixed 
 Keywords:  BOSH Connection Header  |  
------------------------------------+---------------------------------------

Comment(by hsitas444):

 I m using the fixed bosh file. When pidgin is not using pipelining, and
 waiting for a response on one http connection, it opens another http
 connection stays idle on the new http connection. Most http servers have
 idle connection timeout, so they disconnect the connection, when the
 server disconnects the connection pidgin says ''jabber: Could not find a
 HTTP connection!'' and it disconnects.

 Here is snippet of pidgin logs


 (13:03:09) jabber: bosh: httpconn 0x8fbd700 re-connected
 (13:03:09) jabber: BOSH 0x947e8e8->connections[0] = 0x959a858, state = 2,
 requests = 1
 (13:03:09) jabber: BOSH 0x947e8e8->connections[1] = 0x8fbd700, state = 2,
 requests = 0
 (13:03:09) jabber: BOSH session already exists. Trying to reuse it.
 (13:03:19) jabber: BOSH server closed the connection (0x8fbd700)
 (13:03:19) connection: Connection error on 0x9520d10 (reason: 0
 description: Unable to establish a connection with the server)
 (13:03:19) account: Disconnecting account testuser1 at example.com/asdf
 (0x8dd7418)
 (13:03:19) connection: Disconnecting connection 0x9520d10
 (13:03:19) connection: Deactivating keepalive.
 (13:03:19) jabber: BOSH 0x947e8e8->connections[0] = 0x959a858, state = 2,
 requests = 1
 (13:03:19) jabber: BOSH 0x947e8e8->connections[1] = 0x8fbd700, state = 0,
 requests = 0
 (13:03:19) jabber: Could not find a HTTP connection!
 (13:03:19) jabber: BOSH (0x959a858): Sending request of 350 bytes.
 (13:03:19) jabber: BOSH (0x959a858): wrote 350 bytes

-- 
Ticket URL: <http://developer.pidgin.im/ticket/13008#comment:12>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list