• Christian Schudt's avatar
    Prevent WritePendingException during delivery of BOSH packets. · 2871bb82
    Christian Schudt authored
    This exception caused serious trouble, e.g.:
    - Clients got an invalid/incomplete packet, which breaks them.
    - Openfire logged related exceptions like org.jivesoftware.openfire.http.HttpConnectionClosedException: The http connection is no longer available to deliver content
    
    It was caused by calling complete() although the previous write() has not completed (due to its async nature).
    
    I also restructured that the Content-Length header is only set once.
    
    Fixes OF-989.
    See also https://community.igniterealtime.org/thread/57622
    2871bb82
Name
Last commit
Last update
..
BoshBindingError.java Loading commit data...
FlashCrossDomainServlet.java Loading commit data...
HttpBindException.java Loading commit data...
HttpBindManager.java Loading commit data...
HttpBindServlet.java Loading commit data...
HttpConnection.java Loading commit data...
HttpConnectionClosedException.java Loading commit data...
HttpSession.java Loading commit data...
HttpSessionManager.java Loading commit data...
ResourceServlet.java Loading commit data...
SessionListener.java Loading commit data...
package-info.java Loading commit data...