diff options
Diffstat (limited to 'nanohttp')
-rw-r--r-- | nanohttp/nanohttp-client.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/nanohttp/nanohttp-client.c b/nanohttp/nanohttp-client.c index 411884c..4f62afc 100644 --- a/nanohttp/nanohttp-client.c +++ b/nanohttp/nanohttp-client.c @@ -1,5 +1,5 @@ /****************************************************************** - * $Id: nanohttp-client.c,v 1.11 2004/05/14 09:30:42 snowdrop Exp $ + * $Id: nanohttp-client.c,v 1.12 2004/06/04 08:55:07 snowdrop Exp $ * * CSOAP Project: A http client/server library in C * Copyright (C) 2003 Ferhat Ayaz @@ -235,6 +235,10 @@ hresponse_t *httpc_receive_header(hsocket_t sock) res->bodysize = restsize; res->body = rest; + if (res->errcode == 100) { /* continue */ + hresponse_free(res); + res = httpc_receive_header(sock); + } return res; } |