Javascript POST request support

Suyog Shirgaonkar suyogs at rediff-inc.com
Thu Jul 31 13:15:58 CEST 2014


Hi,

While using javascript file upload script, we are getting session closed error in varnishlog.
We are using Varnish 4.0.1. Earlier in varnish 3.0X we were using below code which is working fine with 3.0 version. 
But After upgrading we are unable to process the request.:


        if (req.http.host ~ "^XXXX.com") {
                return (pass);
        }




*   << Session  >> 131106
-   Begin          sess 0 HTTP/1
-   SessOpen       119.252.159.240 11622 :80 202.137.239.228 80 1406805322.102382 16
-   Link           req 131107 rxreq
-   Link           req 131108 rxreq
-   SessClose      REM_CLOSE 0.716
-   End
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20140731/9d951e55/attachment.html>


More information about the varnish-misc mailing list