chunked encoding - Abort HTTP chunk encoded response with Error Page -
i'm extending previous question: aborting http/1.1 chunk encoded response
when abort chunked response chrome displays blank page , dev console reports net::err_incomplete_chunked_encoding. ie displays incomplete page. there way send user actual 500 error page?
can output corrupts document browser won't use it? if so, what's shortest string can send achieve this?
unfortunately, there no chunk can send says browser "hey, forget sent far - went wrong". sending tcp reset packet cause browsers display "server reset connection" page, requires access 1 level down network stack.
the other can think of try sending chunk negative length. don't know how browsers react that.
Comments
Post a Comment