Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
020af3bf
Commit
020af3bf
authored
Apr 27, 2003
by
Laurent Aimar
Browse files
* httpd: added "Cache-Control: no-cache" by default.
parent
5270517b
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/misc/httpd.c
View file @
020af3bf
...
...
@@ -2,7 +2,7 @@
* httpd.c
*****************************************************************************
* Copyright (C) 2001-2003 VideoLAN
* $Id: httpd.c,v 1.1
1
2003/0
3/18 02:28:53 hartman
Exp $
* $Id: httpd.c,v 1.1
2
2003/0
4/27 03:08:36 fenrir
Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
...
...
@@ -1628,6 +1628,7 @@ search_file:
{
p
+=
sprintf
(
p
,
"WWW-Authenticate: Basic realm=
\"
%s
\"\r\n
"
,
user
);
}
p
+=
sprintf
(
p
,
"Cache-Control: no-cache
\r\n
"
);
p
+=
sprintf
(
p
,
"
\r\n
"
);
p_con
->
i_buffer_size
=
strlen
(
p_con
->
p_buffer
);
// + 1;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment