1234567891011121314151617 |
- $OpenBSD: patch-upnphttp_c,v 1.6 2017/05/21 14:52:54 sthen Exp $
- Index: upnphttp.c
- --- upnphttp.c.orig
- +++ upnphttp.c
- @@ -1426,6 +1426,11 @@ SendResp_icon(struct upnphttp * h, char * icon)
- start_dlna_header(&str, 200, "Interactive", mime);
- strcatf(&str, "Content-Length: %d\r\n\r\n", size);
-
- + #ifndef MSG_MORE
- + /* linux uses this to combine multiple send() calls into a single packet */
- + #define MSG_MORE 0
- + #endif
- +
- if( send_data(h, str.data, str.off, MSG_MORE) == 0 )
- {
- if( h->req_command != EHead )
|