server header moved to X-CSTP-Server

That would allow viewing the server from openconnect verbose output.
This commit is contained in:
Nikos Mavrogiannopoulos
2015-04-02 15:57:08 +02:00
parent a9d562064a
commit a35f020b32

View File

@@ -1303,7 +1303,7 @@ static int connect_handler(worker_st * ws)
ret = cstp_puts(ws, "X-CSTP-Version: 1\r\n");
SEND_ERR(ret);
ret = cstp_puts(ws, "X-Server-Version: "PACKAGE_STRING"\r\n");
ret = cstp_puts(ws, "X-CSTP-Server-Name: "PACKAGE_STRING"\r\n");
SEND_ERR(ret);
if (req->is_mobile) {