aether1989 / comet4j

Automatically exported from code.google.com/p/comet4j
0 stars 0 forks source link

不支持反向代理 #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
因为目前大多的反向代理不支持与后端源服务器进行长连接��
�理,所以若将comet4j部署在后端源服务器上,连接工作模式将
失效。这种情况可使用长连接工作模式。

Original issue reported on code.google.com by jinghai....@gmail.com on 14 Mar 2011 at 1:20

GoogleCodeExporter commented 9 years ago

Original comment by jinghai....@gmail.com on 18 Mar 2011 at 5:06

GoogleCodeExporter commented 9 years ago
在server.xml中配置
<Connector URIEncoding="UTF-8" port="8009" 
protocol="org.apache.coyote.http11.Http11NioProtocol" redirectPort="8443"/>
即可解决

Original comment by jinghai....@gmail.com on 11 Apr 2011 at 6:02