diff options
author | Vladislav Grishenko <themiron@mail.ru> | 2018-02-28 21:46:37 +0500 |
---|---|---|
committer | Vladislav Grishenko <themiron@mail.ru> | 2018-02-28 21:46:37 +0500 |
commit | 1bf534037169274a4d27b72fc0639fe87eefb3ca (patch) | |
tree | 88564d60e21e930f9b59f45315b86e3ad2bfbdac /accel-pppd/ctrl/sstp | |
parent | 9d63ce59203584f9241c5573e66bba81b9015a16 (diff) | |
download | accel-ppp-1bf534037169274a4d27b72fc0639fe87eefb3ca.tar.gz accel-ppp-1bf534037169274a4d27b72fc0639fe87eefb3ca.zip |
sstp: http: change method error from 501 to 405
Diffstat (limited to 'accel-pppd/ctrl/sstp')
-rw-r--r-- | accel-pppd/ctrl/sstp/sstp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/ctrl/sstp/sstp.c b/accel-pppd/ctrl/sstp/sstp.c index 68d8ddf..691928b 100644 --- a/accel-pppd/ctrl/sstp/sstp.c +++ b/accel-pppd/ctrl/sstp/sstp.c @@ -859,7 +859,7 @@ static int http_recv_request(struct sstp_conn_t *conn, uint8_t *data, int len) goto error; } if (strcasecmp(method, SSTP_HTTP_METHOD) != 0) { - http_send_response(conn, proto, "501 Not Implemented", NULL); + http_send_response(conn, proto, "405 Method Not Allowed", NULL); goto error; } if (strcasecmp(request, SSTP_HTTP_URI) != 0) { |