Commit Graph

30 Commits

Author SHA1 Message Date
Thomas Bernard a54f25a9e8 remove Pragma: no-cache (which is HTTP 1.0) 2024-06-08 22:09:46 +02:00
Thomas Bernard a441e4ea12
Normalize header to "Connection: close"
As seen in RFC2616 HTTP/1.1

see #745
2024-06-05 01:47:21 +02:00
Self-Hosting-Group 4fbe3ce431 miniupnpc: Fix UPnP UDA 1.1 content-type charset compliance
and user-agent also in asynchronous sample code. The commits a6aa371166 and b557fdf4db were incomplete.

Field value MUST be "text/xml; charset="utf-8"".
Field value MUST be "text/xml; charset="utf-8"" for description documents.
https://openconnectivity.org/upnp-specs/UPnP-arch-DeviceArchitecture-v1.1.pdf
2024-01-08 20:32:51 +01:00
Sergey Ponomarev 1479881003 minixml.c sync sources
In the commit a0573e2518
was fixed a buffer overflow in the minixml.c but it wasn't copied to upnpc-async.
To make comparison simpler the header was also synced
2022-01-27 11:29:16 +02:00
Thomas Bernard 459882f4b3 update miniupnpc-async/minixml.h 2019-04-23 13:23:07 +02:00
Thomas Bernard 96a25871ce
travis-ci: "make check" for all subprojects 2019-04-23 13:13:28 +02:00
Thomas Bernard e1b4f25bba
upnpreplyparse.c: Fix memory leak
If there are multiple  NewPortListing tags,
there is a malloc() for each one.

fixes #357
2019-04-05 10:30:10 +02:00
Cameron Gutman aaa0ed8c86 ensure SSDP reply headers are not partial matches 2019-01-05 12:24:46 -08:00
yangfl 2b0a6dd163 Makefile: Use crosscompile target as OS 2018-02-03 11:29:58 +08:00
Thomas Bernard fa3c4298c4 miniupnpc-async: Some comments are still in French 2018-01-15 16:37:02 +01:00
yangfl d492fa39ef fix typo 2018-01-09 09:33:31 +08:00
David Carlier e56b0587a7 Mainly adding fd_set related header missing 2017-06-12 09:27:26 +02:00
Thomas Bernard b2a1f995ef miniupnpc-async/Makefile: add -D_XOPEN_SOURCE=600 2017-05-26 13:06:12 +02:00
Thomas Bernard 810ae45e9d miniupnpc-async: rename enum values to avoid collisions 2017-05-26 12:44:35 +02:00
Thomas Bernard 73223d8e20 testasync.c: select 1st device 2017-05-26 12:14:59 +02:00
Thomas Bernard bbb27ab97d miniupnpc-async: retrieve our ip address 2017-05-26 12:08:03 +02:00
Thomas Bernard 3e89381fba miniupnpc-async: work to support several devices. 2017-05-26 11:48:12 +02:00
Thomas Bernard d45e957cfc miniupnpc-async: Fixes Makefile for Solaris 2016-11-11 10:14:38 -05:00
Thomas Bernard 2f5cc79033 igd_desc_parse.c: fix buffer overflow 2015-09-15 16:15:30 +02:00
Thomas Bernard 3101b14d71 check malloc return value
see e0999ace78
2015-09-04 18:57:24 +02:00
Chocobo1 739e0b914a miniupnpc-async: fix install script 2015-08-26 17:07:01 +08:00
Chocobo1 d78ccf931a Fix compilation on TravisCI 2015-07-19 21:36:09 +08:00
Chocobo1 0077441cae Use system default C compiler instead of hardcoding to gcc 2015-06-10 17:52:02 +08:00
Daniel Winzen ba753120df Fix memory leaks 2015-04-28 08:44:13 +02:00
Thomas Bernard 39c1b78dab miniupnpc-async: update igd_desc_parse.c/.h 2014-12-15 12:30:23 +01:00
Thomas Bernard 255dc2c083 miniupnpc-async/testasync.c: AddPortMapping OK output :) 2014-11-07 13:13:09 +01:00
Thomas Bernard 30b9acd087 miniupnpc-async: reduce output when not compiled with -DDEBUG 2014-11-07 13:12:48 +01:00
Thomas Bernard 4a15b5dec0 miniupnpc-async/testasync.c: fix small bug 2014-11-07 13:12:15 +01:00
Thomas Bernard da448fbc14 Add .gitignore 2014-11-07 13:07:22 +01:00
Thomas Bernard 8271eb91b3 Adding miniupnpc-async 2014-11-07 12:32:20 +01:00