Skip to content

Commit

Permalink
Rollback fix for #363, which is an invalid bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jfarcand committed May 17, 2012
1 parent 9af25ee commit e55de4c
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1088,13 +1088,6 @@ private void getFiles(File f) {
* @throws ServletException
*/
public Action doCometSupport(AtmosphereRequest req, AtmosphereResponse res) throws IOException, ServletException {
String originalRequestURI = (String) req.getAttribute("javax.servlet.forward.request_uri");
if (originalRequestURI != null && req.getAttribute(ATMOSPHERE_CONFIG) != null) {
// TODO: This is not right to dispatch all to jsp
servletConfig.getServletContext().getNamedDispatcher("jsp").forward(req, res);
return Action.CONTINUE;
}

req.setAttribute(BROADCASTER_FACTORY, broadcasterFactory);
req.setAttribute(PROPERTY_USE_STREAM, useStreamForFlushingComments);
req.setAttribute(BROADCASTER_CLASS, broadcasterClassName);
Expand Down

0 comments on commit e55de4c

Please sign in to comment.