comparison src/protocols/msn/servconn.c @ 12213:4e7ba55a1db2

[gaim-migrate @ 14515] Someone was in #gaim the other day having problems with the http method and a proxy server that was mangling the response headers (which is annoying, but legitimate). This should make that work a bit better, although I think that particular user had other problems with that proxy server too. committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Thu, 24 Nov 2005 16:04:45 +0000
parents 4ee61369c790
children 33bef17125c2
comparison
equal deleted inserted replaced
12212:c9a943c60c33 12213:4e7ba55a1db2
332 332
333 len = read(servconn->fd, buf, sizeof(buf) - 1); 333 len = read(servconn->fd, buf, sizeof(buf) - 1);
334 334
335 if (len <= 0) 335 if (len <= 0)
336 { 336 {
337 gaim_debug_error("msn", "servconn read error, len: %d\n", len); 337 gaim_debug_error("msn", "servconn read error, len: %d error: %s\n", len, strerror(errno));
338 msn_servconn_got_error(servconn, MSN_SERVCONN_ERROR_READ); 338 msn_servconn_got_error(servconn, MSN_SERVCONN_ERROR_READ);
339 339
340 return; 340 return;
341 } 341 }
342 342