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

Pidgin trac at pidgin.im
Fri Jan 14 05:43:05 EST 2011


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

Comment(by hsitas444):

 Thanks for the quick update. But another problem has started, whenever
 pidgin has data to send it opens a new connection but the data is sent on
 connection[0].

 Here is a snippet of pidgin logs

 (16:07:54) jabber: BOSH 0x8c46b70->connections[0] = 0x85814e0, state = 0,
 requests = 0
 (16:07:54) jabber: BOSH 0x8c46b70->connections[1] = 0x88b0780, state = 0,
 requests = 0
 (16:07:54) jabber: bosh: Reconnecting httpconn (0, 0x85814e0)
 (16:07:54) dns: DNS query for 'w.x.y.z' queued
 (16:07:54) jabber: Unable to find a ready BOSH connection. Ignoring send
 of type 0x02.
 (16:07:54) dns: Successfully sent DNS request to child 27977
 (16:07:54) dns: Got response for 'w.x.y.z'
 (16:07:54) dnsquery: IP resolved for w.x.y.z
 (16:07:54) proxy: Attempting connection to w.x.y.z
 (16:07:54) proxy: Connecting to w.x.y.z:port with no proxy
 (16:07:54) proxy: Connection in progress
 (16:07:55) proxy: Connecting to w.x.y.z:port.
 (16:07:55) proxy: Connected to w.x.y.z:port.
 (16:07:55) jabber: bosh: httpconn 0x85814e0 re-connected
 (16:07:55) jabber: BOSH 0x8c46b70->connections[0] = 0x85814e0, state = 2,
 requests = 0
 (16:07:55) jabber: BOSH 0x8c46b70->connections[1] = 0x88b0780, state = 0,
 requests = 0
 (16:07:55) jabber: BOSH session already exists. Trying to reuse it.
 (16:07:55) jabber: BOSH 0x8c46b70->connections[0] = 0x85814e0, state = 2,
 requests = 0
 (16:07:55) jabber: BOSH 0x8c46b70->connections[1] = 0x88b0780, state = 0,
 requests = 0
 (16:07:55) jabber: BOSH (0x85814e0): Sending request of 518 bytes.
 (16:07:55) jabber: BOSH (0x85814e0): wrote 518 bytes
 (16:08:00) pidgin-libnotify: closed_cb(), notification: 0x8764f60
 (16:08:19) jabber: Sending (testuser1 at example.com/asdf): <iq
 xmlns='jabber:client' type='get' id='purple10ed612b'><ping
 xmlns='urn:xmpp:ping'/></iq>
 (16:08:19) jabber: bosh: 0x8c46b70 has 91 bytes in the buffer.
 (16:08:20) jabber: BOSH 0x8c46b70->connections[0] = 0x85814e0, state = 2,
 requests = 1
 (16:08:20) jabber: BOSH 0x8c46b70->connections[1] = 0x88b0780, state = 0,
 requests = 0
 (16:08:20) jabber: bosh: Reconnecting httpconn (1, 0x88b0780)
 (16:08:20) dns: DNS query for 'w.x.y.z' queued
 (16:08:20) jabber: BOSH (0x85814e0): Sending request of 423 bytes.
 (16:08:20) jabber: BOSH (0x85814e0): wrote 423 bytes
 (16:08:20) dns: Wait for DNS child 27977 failed: No child processes
 (16:08:20) dns: Created new DNS child 28005, there are now 1 children.
 (16:08:20) dns: Successfully sent DNS request to child 28005
 (16:08:20) dns: Got response for 'w.x.y.z'
 (16:08:20) dnsquery: IP resolved for w.x.y.z
 (16:08:20) proxy: Attempting connection to w.x.y.z
 (16:08:20) proxy: Connecting to w.x.y.z:port with no proxy
 (16:08:20) proxy: Connection in progress
 (16:08:21) proxy: Connecting to w.x.y.z:port.
 (16:08:21) proxy: Connected to w.x.y.z:port.
 (16:08:21) jabber: bosh: httpconn 0x88b0780 re-connected
 (16:08:21) jabber: BOSH 0x8c46b70->connections[0] = 0x85814e0, state = 2,
 requests = 2
 (16:08:21) jabber: BOSH 0x8c46b70->connections[1] = 0x88b0780, state = 2,
 requests = 0
 (16:08:21) jabber: BOSH session already exists. Trying to reuse it.
 (16:08:29) jabber: BOSH server closed the connection (0x88b0780)
 (16:08:45) jabber: BOSH 0x8c46b70->connections[0] = 0x85814e0, state = 2,
 requests = 2
 (16:08:45) jabber: BOSH 0x8c46b70->connections[1] = 0x88b0780, state = 0,
 requests = 0
 (16:08:45) jabber: bosh: Reconnecting httpconn (1, 0x88b0780)
 (16:08:45) dns: DNS query for 'w.x.y.z' queued
 (16:08:45) jabber: BOSH (0x85814e0): Sending request of 332 bytes.
 (16:08:45) jabber: BOSH (0x85814e0): wrote 332 bytes
 (16:08:45) dns: Wait for DNS child 28005 failed: No child processes
 (16:08:45) dns: Created new DNS child 28008, there are now 1 children.
 (16:08:45) dns: Successfully sent DNS request to child 28008
 (16:08:45) dns: Got response for 'w.x.y.z'
 (16:08:45) dnsquery: IP resolved for w.x.y.z
 (16:08:45) proxy: Attempting connection to w.x.y.z
 (16:08:45) proxy: Connecting to w.x.y.z:port with no proxy
 (16:08:45) proxy: Connection in progress
 (16:08:46) proxy: Connecting to w.x.y.z:port.
 (16:08:46) proxy: Connected to w.x.y.z:port.
 (16:08:46) jabber: bosh: httpconn 0x88b0780 re-connected
 (16:08:46) jabber: BOSH 0x8c46b70->connections[0] = 0x85814e0, state = 2,
 requests = 3
 (16:08:46) jabber: BOSH 0x8c46b70->connections[1] = 0x88b0780, state = 2,
 requests = 0
 (16:08:46) jabber: BOSH session already exists. Trying to reuse it.
 (16:08:54) jabber: BOSH server closed the connection (0x88b0780)

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


More information about the Tracker mailing list