mirror of
https://dev.iopsys.eu/bbf/icwmp.git
synced 2025-12-10 07:44:41 +01:00
Fix connection req failure with path
This commit is contained in:
parent
a3eaadd9d0
commit
75a98b0e27
1 changed files with 1 additions and 1 deletions
|
|
@ -400,7 +400,7 @@ http_end:
|
||||||
CWMP_LOG(INFO, "Receive Connection Request: Return 401 Unauthorized");
|
CWMP_LOG(INFO, "Receive Connection Request: Return 401 Unauthorized");
|
||||||
fputs("HTTP/1.1 401 Unauthorized\r\n", fp);
|
fputs("HTTP/1.1 401 Unauthorized\r\n", fp);
|
||||||
fputs("Connection: close\r\n", fp);
|
fputs("Connection: close\r\n", fp);
|
||||||
http_authentication_failure_resp(fp, "GET", "/", REALM, OPAQUE);
|
http_authentication_failure_resp(fp, "GET", cwmp_main.conf.connection_request_path, REALM, OPAQUE);
|
||||||
fputs("\r\n", fp);
|
fputs("\r\n", fp);
|
||||||
}
|
}
|
||||||
fputs("\r\n", fp);
|
fputs("\r\n", fp);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue