mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 01:43:08 +02:00
[backfire] merge r22988
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@22989 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
931af063aa
commit
34913291dd
@ -8,7 +8,7 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=uhttpd
|
PKG_NAME:=uhttpd
|
||||||
PKG_RELEASE:=17
|
PKG_RELEASE:=18
|
||||||
|
|
||||||
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
|
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
|
||||||
PKG_BUILD_DEPENDS := libcyassl liblua
|
PKG_BUILD_DEPENDS := libcyassl liblua
|
||||||
|
@ -401,6 +401,10 @@ static struct http_request * uh_http_header_recv(struct client *cl)
|
|||||||
{
|
{
|
||||||
ensure_out(rlen = uh_tcp_recv(cl, bufptr, rlen));
|
ensure_out(rlen = uh_tcp_recv(cl, bufptr, rlen));
|
||||||
|
|
||||||
|
/* unexpected eof - #7904 */
|
||||||
|
if( rlen == 0 )
|
||||||
|
return NULL;
|
||||||
|
|
||||||
blen -= rlen;
|
blen -= rlen;
|
||||||
bufptr += rlen;
|
bufptr += rlen;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user