1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-11-03 04:17:17 -05:00

corrected Date:-header format to conform the standard (see RFC1123). Thanks to cato for reporting.

svn path=/icecast/trunk/icecast/; revision=19012
This commit is contained in:
Philipp Schafft 2013-11-06 01:01:31 +00:00
parent 917ace89da
commit 3f0d8a097e

View File

@ -558,7 +558,7 @@ ssize_t util_http_build_header(char * out, size_t len, ssize_t offset,
#endif
if (gmtime_result)
strftime(currenttime_buffer, sizeof(currenttime_buffer), "Date: %a, %d-%b-%Y %X GMT\r\n", gmtime_result);
strftime(currenttime_buffer, sizeof(currenttime_buffer), "Date: %a, %d %b %Y %X GMT\r\n", gmtime_result);
else
currenttime_buffer[0] = '\0';