mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 08:46:58 +08:00
Send the server version string to client.
This commit is contained in:
@@ -1427,6 +1427,9 @@ static int connect_handler(worker_st * ws)
|
||||
ret = tls_puts(ws->session, "X-CSTP-Version: 1\r\n");
|
||||
SEND_ERR(ret);
|
||||
|
||||
ret = tls_puts(ws->session, "X-Server-Version: "PACKAGE_STRING"\r\n");
|
||||
SEND_ERR(ret);
|
||||
|
||||
if (req->is_mobile) {
|
||||
ws->config->dpd = ws->config->mobile_dpd;
|
||||
ws->config->idle_timeout = ws->config->mobile_idle_timeout;
|
||||
|
||||
Reference in New Issue
Block a user