Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
brainfood
/
ofbiz-comet-messenger
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
ba90b750
authored
2014-07-11 17:07:51 -0500
by
Ean Schuessler
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Disable proxying on COMET responses
1 parent
f3c195cf
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
src/com/brainfood/ofbiz/CometMessengerServlet.java
src/com/brainfood/ofbiz/CometMessengerServlet.java
View file @
ba90b75
...
...
@@ -76,6 +76,7 @@ public class CometMessengerServlet extends HttpServlet implements CometProcessor
HttpServletRequest
request
=
event
.
getHttpServletRequest
();
HttpServletResponse
response
=
event
.
getHttpServletResponse
();
response
.
setContentType
(
"application/json"
);
response
.
setHeader
(
"X-Accel-Buffering"
,
"No"
);
if
(
event
.
getEventType
()
==
CometEvent
.
EventType
.
BEGIN
)
{
Debug
.
logInfo
(
"Begin for session: "
+
request
.
getSession
(
true
).
getId
(),
module
);
PrintWriter
writer
=
response
.
getWriter
();
...
...
Please
register
or
sign in
to post a comment