Commit Graph

37 Commits

Author SHA1 Message Date
Thomas Bernard 41f5475080
update for libevent 2.2 handling of custom HTTP methods
see 8dcb94a4ca
2019-04-16 01:02:37 +02:00
Cameron Gutman aaa0ed8c86 ensure SSDP reply headers are not partial matches 2019-01-05 12:24:46 -08:00
Thomas Bernard 2b6fa0839f no more strlen(xxx) == 0.
Fixes 
2018-04-20 17:19:52 +02:00
yangfl d492fa39ef fix typo 2018-01-09 09:33:31 +08:00
zying16 e24d7eca28 fix error of wrong matched parentheses in miniupnpc-libevent/miniupnpc-libevent.c 2017-07-24 10:53:30 +02:00
Thomas Bernard 0877a65ed6 add a few checks 2016-03-29 17:34:12 +02:00
Thomas Bernard 95a75b6dd0 see 9bf5a0bd90 2015-10-10 11:52:38 +02:00
Thomas Bernard e1f7a63044 adapt code to new libevent method extension 2015-09-15 23:28:59 +02:00
Thomas Bernard 4be2f4c9b5 miniupnpc-libevent: set multicast TTL to 2 2015-07-22 15:52:33 +02:00
Daniel Winzen ba753120df Fix memory leaks 2015-04-28 08:44:13 +02:00
Thomas Bernard 37c649257b miniupnpc-libevent.c: check req argument in callbacks 2015-02-05 18:59:44 +01:00
Thomas Bernard 18ae95e101 miniupnpc-libevent.c: fix debug_printf() void definition 2015-01-01 19:39:08 +01:00
Thomas Bernard e644f219fa miniupnpc-libevent: check SID and other headers in event NOTIFY 2014-12-13 19:10:39 +01:00
Thomas Bernard 1b4f132284 miniupnpc-libevent: "fix" debug_printf() if DEBUG not defined. 2014-12-12 19:09:48 +01:00
Thomas Bernard 7f47555c66 miniupnpc-libevent: subscribe and receive UPNP events !
enable with -DENABLE_UPNP_EVENTS
libevent need to support SUBSCRIBE and NOTIFY requests
see https://github.com/miniupnp/libevent/tree/upnp_ext
2014-12-12 19:08:00 +01:00
Thomas Bernard 64578041bd miniupnpc-libevent: include port in Host HTTP header if != 80 2014-12-12 19:03:28 +01:00
Thomas Bernard 1217512a32 miniupnpc-libevent: upnpc_set_local_address() 2014-12-12 18:58:06 +01:00
Thomas Bernard 37c4f7dda1 miniupnpc-libevent.c: free event_cif_url/event_conn_url
see 2455cc85b6
2014-12-12 18:56:06 +01:00
Thomas Bernard f7ec0e17c3 miniupnpc-libevent: split upnpc_init() / upnpc_start() 2014-12-12 18:37:54 +01:00
Thomas Bernard 2455cc85b6 miniupnpc-libevent: add event_cif_url/event_conn_url 2014-12-08 17:24:25 +01:00
Thomas Bernard 215b357e55 miniupnpc-libevent: prevent several SOAP request at the same time. 2014-12-08 17:23:29 +01:00
Thomas Bernard 8868eb7299 miniupnpc-libevent.c: minor modifications in logging 2014-12-06 12:20:24 +01:00
Thomas Bernard 2fd247bcbc miniupnpc-libevent.c: make sure b < i and vars are initialized 2014-12-02 15:09:20 +01:00
Thomas Bernard 12e49bda0d miniupnpc-libevent.c: set UPNPC_DEVICE_SOAP_REQ properly 2014-12-01 18:48:03 +01:00
Thomas Bernard c021d7351f miniupnpc-libevent: add ability to work on several devices simultaneously 2014-12-01 18:44:38 +01:00
Thomas Bernard 2b233cdf69 miniupnpc-libevent.c: add double quotes (") around SOAPAction 2014-11-28 14:28:17 +01:00
Thomas Bernard 8325b715d3 miniupnpc-libevent: handle error cases 2014-11-25 23:51:59 +01:00
Thomas Bernard b642e74124 miniupnpc-libevent.c: upnpc_conn_close_cb() only in DEBUG mode 2014-11-25 23:50:56 +01:00
Thomas Bernard d4bf4c7572 miniupnpc-libevent: add upnpc_get_status_info() 2014-11-18 10:31:59 +01:00
Thomas Bernard b6896d5c08 miniupnpc-libevent: WIN32 => _WIN32 2014-11-17 20:33:11 +01:00
Thomas Bernard 7264fa53a9 miniupnpc-libevent: remove unecessary files 2014-11-17 17:29:24 +01:00
Thomas Bernard bd8ba03b54 miniupnpc-libevent: try with several M-SEARCH requests 2014-11-17 11:15:18 +01:00
Thomas Bernard 3065bc570f miniupnpc-libevent: use service type from root description 2014-11-17 10:22:34 +01:00
Thomas Bernard 3bf2398903 miniupnpc-libevent: add upnpc_delete_port_mapping() 2014-11-14 12:39:15 +01:00
Thomas Bernard 60cc52fee9 miniupnpc-libevent.c: various cosmetic issues 2014-11-13 10:22:05 +01:00
Thomas Bernard b4895f2247 miniupnpc-libevent.c: clean up 2014-11-13 10:21:17 +01:00
Thomas Bernard b33f4b343a Adding miniupnpc-libevent 2014-11-12 16:56:35 +01:00