Skip to content

Commit

Permalink
Fix for #896 #863
Browse files Browse the repository at this point in the history
  • Loading branch information
jfarcand committed Feb 10, 2013
1 parent 505792c commit dd32ade
Showing 1 changed file with 1 addition and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -566,22 +566,9 @@ public Enumeration<String> getInitParameterNames() {
if (sc.getServletContext() != null) {
sc.getServletContext().setAttribute(BroadcasterFactory.class.getName(), broadcasterFactory);
}
boolean found = false;
for (AtmosphereInterceptor i: interceptors) {
if (i.getClass().isAssignableFrom(TrackMessageSizeInterceptor.class)) {
found = true;
}
}

for (String i: broadcasterFilters) {
if (i.equals(TrackMessageSizeFilter.class.getName())) {
found = true;
}
}

if (!found) {
logger.warn("Neither TrackMessageSizeInterceptor or TrackMessageSizeFilter are installed." +
" atmosphere.js may receive glued and incomplete message.");
logger.info("Using BroadcastFilter: {}", i);
}

logger.info("HttpSession supported: {}", config.isSupportSession());
Expand Down

0 comments on commit dd32ade

Please sign in to comment.