Welcome! Log In Create A New Profile

Advanced

Is it possible to skip request body and send a response?

July 09, 2012 03:07AM
I'm using access_by_lua function to authorize request before starting upload process, It works just awesome. But in case when request is not authorized I would like to send a response skipping the stage of reading request body. Is this possible in theory or does this contradicts rfc2616? Currently I can only close connection by discarding the request body with lingering_timeout set to zero.

Thanks for any help.
Subject Author Posted

Is it possible to skip request body and send a response?

Vadim Pavlov July 09, 2012 03:07AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 144
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready