Skip to content

Commit 16e9dc0

Browse files
committed
minissdpd: CACHE-CONTROL must be minimum 1800s
1 parent 9339f0e commit 16e9dc0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

minissdpd/minissdpd.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* $Id: minissdpd.c,v 1.61 2021/11/04 23:27:28 nanard Exp $ */
22
/* vim: tabstop=4 shiftwidth=4 noexpandtab
33
* MiniUPnP project
4-
* (c) 2007-2022 Thomas Bernard
4+
* (c) 2007-2024 Thomas Bernard
55
* website : http://miniupnp.free.fr/ or https://miniupnp.tuxfamily.org/
66
* This software is subject to the conditions detailed
77
* in the LICENCE file provided within the distribution */
@@ -472,7 +472,7 @@ SendSSDPMSEARCHResponse(int s, const struct sockaddr * sockname,
472472
*
473473
* have a look at the document "UPnP Device Architecture v1.1 */
474474
l = snprintf(buf, sizeof(buf), "HTTP/1.1 200 OK\r\n"
475-
"CACHE-CONTROL: max-age=120\r\n"
475+
"CACHE-CONTROL: max-age=1800\r\n"
476476
/*"DATE: ...\r\n"*/
477477
"ST: %.*s\r\n"
478478
"USN: %s\r\n"

0 commit comments

Comments
 (0)