Response latency when xmpp.httpbind.client.requests.max=1

I use JsJac.js and connection manager, openfire to make an chat app.

connection manager setting:

xmpp.httpbind.client.requests.wait=10
xmpp.httpbind.client.requests.polling = 0
xmpp.httpbind.client.requests.max = 2

xmpp.httpbind.client.idle = 180000
the request call spends less than 1s.but when set xmpp.httpbind.client.requests.max to 1, the request call spends more than 10s.

I have checked connection manager side log, it spends about 1s to deal with request. below is request info

2011.02.23 03:41:07 HttpBindServlet: doPost isContinuation:true

2011.02.23 03:41:08 HttpBindServlet: doPost isContinuation:false

2011.02.23 03:41:08 HttpBindServlet: Handle request [SID=qltue6e364b1e,RID=241182]

2011.02.23 03:41:08 HttpBindServlet: RootNode: org.dom4j.tree.DefaultElement@1f3af0c9 [Element: <body uri: http://jabber.org/protocol/httpbind attributes: [org.dom4j.tree.DefaultAttribute@56962c23 [Attribute: name rid value “241182”], org.dom4j.tree.DefaultAttribute@1d2bda3e [Attribute: name sid value “qltue6e364b1e”], org.dom4j.tree.DefaultAttribute@2a052b68 [Attribute: name key value “94a72800f82ecf5ad763ffe4a91280c4b8cf3ae1”]]/>]

2011.02.23 03:41:08 HttpSession: Create a new connection on SID qltue6e364b1e

2011.02.23 03:41:08 HttpSession: closed extra connections

2011.02.23 03:41:08 HttpBindServlet: Response content:

2011.02.23 03:41:08 HttpBindServlet: End request

2011.02.23 03:41:07 HttpBindServlet: doPost isContinuation:true

2011.02.23 03:41:08 HttpBindServlet: doPost isContinuation:false

2011.02.23 03:41:08 HttpBindServlet: Handle request [SID=qltue6e364b1e,RID=241182]

2011.02.23 03:41:08 HttpBindServlet: RootNode: org.dom4j.tree.DefaultElement@1f3af0c9 [Element: <body uri: http://jabber.org/protocol/httpbind attributes: [org.dom4j.tree.DefaultAttribute@56962c23 [Attribute: name rid value “241182”], org.dom4j.tree.DefaultAttribute@1d2bda3e [Attribute: name sid value “qltue6e364b1e”], org.dom4j.tree.DefaultAttribute@2a052b68 [Attribute: name key value “94a72800f82ecf5ad763ffe4a91280c4b8cf3ae1”]]/>]

2011.02.23 03:41:08 HttpSession: Create a new connection on SID qltue6e364b1e

2011.02.23 03:41:08 HttpSession: closed extra connections

2011.02.23 03:41:08 HttpBindServlet: Response content:

2011.02.23 03:41:08 HttpBindServlet: End request

Can anynoe give some suggestion?

Hi Team

Are there some latency for response on server side when xmpp.httpbind.client.requests.max set to 1?

Or any latency code lines on client side ?

I’m urgent for your answer.

Thanks

Dean