From 84693bb5f792e6d6accd1ad2e81fe6baeb4f4ea1 Mon Sep 17 00:00:00 2001 From: snowdrop Date: Mon, 19 Dec 2005 14:06:15 +0000 Subject: integrated with ssl (https) capability --- nanohttp/nanohttp-request.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'nanohttp/nanohttp-request.c') diff --git a/nanohttp/nanohttp-request.c b/nanohttp/nanohttp-request.c index 6597c10..9f4fb8b 100755 --- a/nanohttp/nanohttp-request.c +++ b/nanohttp/nanohttp-request.c @@ -1,5 +1,5 @@ /****************************************************************** -* $Id: nanohttp-request.c,v 1.5 2005/05/27 19:28:15 snowdrop Exp $ +* $Id: nanohttp-request.c,v 1.6 2005/12/19 14:06:16 snowdrop Exp $ * * CSOAP Project: A http client/server library in C * Copyright (C) 2003 Ferhat Ayaz @@ -228,13 +228,16 @@ hrequest_new_from_socket(hsocket_t sock, hrequest_t **out) char buffer[MAX_HEADER_SIZE+1]; attachments_t *mimeMessage; + memset(buffer, 0, MAX_HEADER_SIZE); /* Read header */ while (i