From de79ff3fead284625908798184a3f1708c578602 Mon Sep 17 00:00:00 2001 From: ~hatteb-mitlyd Date: Thu, 24 Apr 2014 14:08:51 -0700 Subject: [PATCH] fix cttp: body comes after cr-lf, not before --- v/cttp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/v/cttp.c b/v/cttp.c index 4fe95a0b45..bbb77c5dd5 100644 --- a/v/cttp.c +++ b/v/cttp.c @@ -1463,9 +1463,9 @@ _cttp_ccon_fire(u2_ccon* coc_u, u2_creq* ceq_u) snprintf(buf_c, 80, "content-length: %u\r\n", ceq_u->bod_u->len_w); _cttp_ccon_fire_str(coc_u, buf_c); - _cttp_ccon_fire_body(coc_u, ceq_u->bod_u); - _cttp_ccon_fire_str(coc_u, "\r\n"); + + _cttp_ccon_fire_body(coc_u, ceq_u->bod_u); } }