[Pidgin] #13026: Bosh : SHOULD NOT pipeline requests using POST (non-idempotent) method

Pidgin trac at pidgin.im
Wed Dec 1 02:30:03 EST 2010


#13026: Bosh : SHOULD NOT pipeline requests using POST (non-idempotent) method
-----------------------------------------------+----------------------------
 Reporter:  hsitas444                          |     Owner:  deryni
     Type:  defect                             |    Status:  new   
Component:  XMPP                               |   Version:  2.7.7 
 Keywords:  BOSH pipeline non-idempotent POST  |  
-----------------------------------------------+----------------------------
 Hi, Bosh client in pidgin sends bosh requests using POST method in a http
 pipeline. According to http rfc (rfc 2616), section 8.1.2.2

 ''Clients SHOULD NOT pipeline requests using non-idempotent methods or
 non-idempotent sequences of methods (see section 9.1.2). Otherwise, a
 premature termination of the transport connection could lead to
 indeterminate results. A client wishing to send a non-idempotent request
 SHOULD wait to send that request until it has received the response status
 for the previous request. ''

 POST method is a non-idempotent method, so from the above quote, if POST
 method is used in a pipeline then the client must wait until the response
 to the previous method is received. I have seen from tcpdump that pidgin
 does not wait till the response for the previous request is got.

-- 
Ticket URL: <http://developer.pidgin.im/ticket/13026>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list