Fix infinite loop in SendResp_upnphttp()
commit807a6bfb69bdde9c4b3c229ea4e4a1ddf855d878
authorAugusto Bott <augusto@bott.com.br>
Mon, 16 Jan 2012 06:16:00 +0000 (16 04:16 -0200)
committerAugusto Bott <augusto@bott.com.br>
Mon, 16 Jan 2012 06:16:00 +0000 (16 04:16 -0200)
treee100764cbc503383b3f78e040a8a00fb2f040b3d
parentb3d934282238224fef8233fcf6c2d8eb06386d6d
Fix infinite loop in SendResp_upnphttp()

Syslog spammed with messages: miniupnpd[379]: send(res_buf): Broken pipe

Also consolidate CloseSocket_upnphttp() calls.
(cherry picked from commit 52bb415ad035061750e8bbc62deb7bbf51ef370a)
release/src/router/miniupnpd/upnphttp.c
release/src/router/miniupnpd/upnpsoap.c