mirror of
git://git.psyced.org/git/psyced
synced 2024-08-15 03:25:10 +00:00
death the query_server_unl()
This commit is contained in:
parent
14c65f90a8
commit
821fb55b20
23 changed files with 54 additions and 62 deletions
|
@ -357,7 +357,7 @@ parseUDP(ip, port, msg) {
|
|||
//v["to"] += ";tag=1234567890abcde"; // ??? TODO
|
||||
/* need authorization
|
||||
*/
|
||||
v["www-authenticate"] = "Digest realm=\"" + query_server_unl() + "\", nonce=\"" + time() + "\"";
|
||||
v["www-authenticate"] = "Digest realm=\"" + SERVER_UNIFORM + "\", nonce=\"" + time() + "\"";
|
||||
reply = makeResponse(prot, 401, v, "");
|
||||
// TODO: nonce generation has to be secure
|
||||
send_udp(ip, port, reply);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue