summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Troy <dave@popvox.com>2006-04-01 17:56:53 +0000
committerDavid Troy <dave@popvox.com>2006-04-01 17:56:53 +0000
commitf723379bb0de062ba8203e0dba098b146075fb15 (patch)
tree145030e88962a57bb54f170648152023ad6a5800
parent003236f73567a285b35fc8d571ac94fb0bc51278 (diff)
downloadastmanproxy-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http.c b/src/http.c
index 6b5580d..b91b872 100644
--- a/src/http.c
+++ b/src/http.c
@@ -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);