diff options
author | snowdrop | 2004-06-04 08:55:07 +0000 |
---|---|---|
committer | snowdrop | 2004-06-04 08:55:07 +0000 |
commit | 659afe0cbbf738d2d51a6743b25600c31dd95d92 (patch) | |
tree | 9b61c42f9d3d817f0dde11a5af4b2528128feca5 /nanohttp | |
parent | c943474ca982a12a60ffd3c73dc59c1adacca690 (diff) | |
download | csoap-659afe0cbbf738d2d51a6743b25600c31dd95d92.tar.gz csoap-659afe0cbbf738d2d51a6743b25600c31dd95d92.tar.bz2 |
added HTTP/1.1 100 Continue functionality
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; } |