1
0
Fork 0
mirror of git://git.psyced.org/git/psyced synced 2024-08-15 03:25:10 +00:00
This commit is contained in:
psyc://psyced.org/~lynX 2009-10-15 13:51:26 +02:00
parent 90ad3e7be4
commit 8acf330070
2 changed files with 8 additions and 2 deletions

View file

@ -3972,3 +3972,9 @@ net/irc
- bugfix from fippo concerning alias interpretation
include/net.h
- the efun has changed from stringprep() to idna_stringprep()
=== 200910 ============================================================
irc/user
- handle root messages
jabber/*
- deal with < and > in status updates

View file

@ -103,7 +103,7 @@ varargs int real_logon(int failure) {
// emit("If-None-Match: " + etag + "\r\n");
// we won't need connection: close w/ http/1.0
//emit("Connection: close\r\n\r\n");
P1(("%O fetching /%s from %O\n", ME, resource, host))
P2(("%O fetching /%s from %O\n", ME, resource, host))
P4(("%O using %O\n", ME, buffer))
emit("GET /"+ resource +" HTTP/1.0\r\n"
"Host: "+ host +"\r\n"
@ -137,7 +137,7 @@ int parse_status(string all) {
sscanf(all, "%s%t%s", prot, state);
sscanf(state, "%d%t%s", http_status, http_message);
if (http_status != R_OK) {
P1(("%O got %O %O from %O\n", ME,
P0(("%O got %O %O from %O\n", ME,
http_status, http_message, host));
monitor_report("_failure_unsupported_code_HTTP",
S("http/fetch'ing %O returned %O %O", url || ME,