Mercurial > pidgin
comparison src/protocols/yahoo/yahoochat.c @ 10575:96307e1a47c9
[gaim-migrate @ 11968]
This makes Yahoo roomlist & filetransfer work with HTTP proxies (except when
authentication is needed), webauth probably works too but I couldn't work out
how to test that.
committer: Tailor Script <tailor@pidgin.im>
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Sat, 05 Feb 2005 18:24:50 +0000 |
parents | 1a97d5e88d12 |
children | 7d13c04387ad |
comparison
equal
deleted
inserted
replaced
10574:77ef3f2f0df8 | 10575:96307e1a47c9 |
---|---|
1315 } | 1315 } |
1316 | 1316 |
1317 yrl->fd = source; | 1317 yrl->fd = source; |
1318 | 1318 |
1319 cookie = g_strdup_printf("Y=%s; T=%s", yd->cookie_y, yd->cookie_t); | 1319 cookie = g_strdup_printf("Y=%s; T=%s", yd->cookie_y, yd->cookie_t); |
1320 buf = g_strdup_printf("GET /%s HTTP/1.0\r\nHost: %s\r\nCookie: %s\r\n\r\n", yrl->path, yrl->host, cookie); | 1320 buf = g_strdup_printf("GET http://%s/%s HTTP/1.0\r\nHost: %s\r\nCookie: %s\r\n\r\n", |
1321 yrl->host, yrl->path, yrl->host, cookie); | |
1321 write(yrl->fd, buf, strlen(buf)); | 1322 write(yrl->fd, buf, strlen(buf)); |
1322 g_free(cookie); | 1323 g_free(cookie); |
1323 g_free(buf); | 1324 g_free(buf); |
1324 yrl->inpa = gaim_input_add(yrl->fd, GAIM_INPUT_READ, yahoo_roomlist_pending, yrl); | 1325 yrl->inpa = gaim_input_add(yrl->fd, GAIM_INPUT_READ, yahoo_roomlist_pending, yrl); |
1325 | 1326 |