mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 16:57:00 +08:00
server header moved to X-CSTP-Server
That would allow viewing the server from openconnect verbose output.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user