[solved] Uploads not working

Discussion in 'General' started by Alex Makin, Dec 27, 2017.

  1. Alex Makin

    Alex Makin New Member

    Hello,

    We use OpenLiteSpeed 1.4.28 for our CRM, recently we have noticed that uploads no longer appear to be working. No errors appear in the log files, but the browser will timeout after two minutes with progress stopped at 1%. File uploads are under 1MB.

    We have isolated the issue to OpenLiteSpeed, given that uploads work when we revert to Apache. What would the best way to resolve this issue?
     
  2. mistwang

    mistwang LiteSpeed Staff

    you can compile from source with following patch
    Code:
    diff --git a/src/spdy/h2connection.cpp b/src/spdy/h2connection.cpp
    index 99bf72f81..45cb045e6 100644
    --- a/src/spdy/h2connection.cpp
    +++ b/src/spdy/h2connection.cpp
    @@ -1226,7 +1226,7 @@ int H2Connection::sendSettingsFrame()
         {
             //{0x00, 0x01, 0x00, 0x00, 0x10, 0x00 },
             {0x00, 0x03, 0x00, 0x00, 0x00, 0x64 },
    -        {0x00, 0x04, 0x00, 0x01, 0x00, 0x00 },
    +        {0x00, 0x04, 0x00, 0x04, 0x00, 0x00 },
             {0x00, 0x05, 0x00, 0x00, 0x40, 0x00 },
             //{0x00, 0x06, 0x00, 0x00, 0x40, 0x00 },
         };
    
     
  3. Alex Makin

    Alex Makin New Member

    Thanks, have downgraded to 1.4.27 which works correctly for uploads.
     

Share This Page