Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-13414

download/file.php sends Content-Length header even when issuing 304 Not Modified

    XMLWordPrintable

Details

    Description

      phpbb 3.0.12

      download/file.php returns Content-Length header (with non-zero value) even if after it it returns 304 Not Modified. Which resulting to connection stuck until keepalive timeouts when server is nginx+php-fpm with keepalive_timeout > 0

      There should not be Content-Length header at all if 304 is returned.

      Attachments

        Activity

          People

            Marc Marc
            Semik Semen Panevin [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: