]> granicus.if.org Git - ejabberd/commit
Parse correctly https request split into multiple packets
authorPaweł Chmielowski <pchmielowski@process-one.net>
Fri, 6 Apr 2012 14:22:08 +0000 (16:22 +0200)
committerPaweł Chmielowski <pchmielowski@process-one.net>
Fri, 6 Apr 2012 14:22:08 +0000 (16:22 +0200)
commit5f828467327bbd0fb8df6afc20559c2208bc0603
treef0b0768a57aa49772a7d40a7f5a2878d047ef887
parent09c75af15c1ced13a9a415e2927994fd5c92cc62
Parse correctly https request split into multiple packets

This fixes case when SockMod:recv() calls returns only part of first line
of http request (GET/POST/OPTION/HEAD line). Before that change request
like that (and if keep-alive was active, all further request) were dropped.

This fixes EJAB-1537.
src/web/ejabberd_http.erl