Skip to content

Commit

Permalink
1.6.09
Browse files Browse the repository at this point in the history
1.6.09
  • Loading branch information
uplusware committed Sep 27, 2017
1 parent 922dec3 commit c479dd3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/webmail.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
#define ERISEMAIL_WEB_SERVER_NAME "Server: eRisemail Web Server/1.6.09 (*NIX)"

#define RSP_200_OK_CACHE "HTTP/1.1 200 OK\r\n" \
ERISEMAIL_WEB_SERVER_NAME "\r\n"
ERISEMAIL_WEB_SERVER_NAME "\r\n" \
"Cache-Control: max-age=31536000\r\n"

#define RSP_200_OK_NO_CACHE "HTTP/1.1 200 OK\r\n" \
ERISEMAIL_WEB_SERVER_NAME "\r\n" \
Expand Down Expand Up @@ -10453,7 +10454,7 @@ class ApiGetLogFile : public doc, public storage
string strline;
if(filein.is_open())
{
strResp = RSP_200_OK_CACHE_PLAIN;
strResp = RSP_200_OK_NO_CACHE_PLAIN;

struct stat file_stat;
stat(strPath.c_str(), &file_stat);
Expand Down
Binary file modified ubuntu-erisemail-bin-cn-utf8-x86_64-linux-1.6.09.tar.gz
Binary file not shown.
Binary file modified ubuntu-erisemail-bin-en-utf8-x86_64-linux-1.6.09.tar.gz
Binary file not shown.

0 comments on commit c479dd3

Please sign in to comment.