diff options
author | David Troy <dave@popvox.com> | 2006-04-01 17:56:53 +0000 |
---|---|---|
committer | David Troy <dave@popvox.com> | 2006-04-01 17:56:53 +0000 |
commit | f723379bb0de062ba8203e0dba098b146075fb15 (patch) | |
tree | 145030e88962a57bb54f170648152023ad6a5800 | |
parent | 003236f73567a285b35fc8d571ac94fb0bc51278 (diff) | |
download | astmanproxy-f723379bb0de062ba8203e0dba098b146075fb15.tar.gz astmanproxy-f723379bb0de062ba8203e0dba098b146075fb15.tar.xz astmanproxy-f723379bb0de062ba8203e0dba098b146075fb15.zip |
git-svn-id: http://svncommunity.digium.com/svn/astmanproxy/branches/1.20pre@51 f02b47b9-160a-0410-81a6-dc3441afb0ec
-rw-r--r-- | src/http.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -102,7 +102,7 @@ int _read(struct mansession *s, struct message *m) { BuildHTTPHeader(header); pthread_mutex_lock(&s->lock); s->inputcomplete = 1; - write(s->fd, header, strlen(header)); + ast_carefulwrite(s->fd, header, strlen(header), s->writetimeout); pthread_mutex_unlock(&s->lock); debugmsg("header: %s", header); |