diff options
author | Christian Grothoff <christian@grothoff.org> | 2008-04-13 08:40:24 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2008-04-13 08:40:24 +0000 |
commit | 712f9be425e6704aa42e7bb1b3c5d7cb77b672c5 (patch) | |
tree | 0b1bc0334d93419e3bf598a74078b1319662fe7c | |
parent | e7544a57bf3ae3c0081e00b202906a4531c7f603 (diff) | |
download | libmicrohttpd-712f9be425e6704aa42e7bb1b3c5d7cb77b672c5.tar.gz libmicrohttpd-712f9be425e6704aa42e7bb1b3c5d7cb77b672c5.zip |
fix
-rw-r--r-- | src/testzzuf/daemontest_long_header.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testzzuf/daemontest_long_header.c b/src/testzzuf/daemontest_long_header.c index ebd2ff36..d8aaa963 100644 --- a/src/testzzuf/daemontest_long_header.c +++ b/src/testzzuf/daemontest_long_header.c | |||
@@ -163,7 +163,7 @@ testLongHeaderGet () | |||
163 | cbc.size = 2048; | 163 | cbc.size = 2048; |
164 | cbc.pos = 0; | 164 | cbc.pos = 0; |
165 | d = MHD_start_daemon (MHD_USE_SELECT_INTERNALLY /* | MHD_USE_DEBUG */ , | 165 | d = MHD_start_daemon (MHD_USE_SELECT_INTERNALLY /* | MHD_USE_DEBUG */ , |
166 | 1080, | 166 | 11080, |
167 | &apc_all, | 167 | &apc_all, |
168 | NULL, | 168 | NULL, |
169 | &ahc_echo, | 169 | &ahc_echo, |
@@ -185,7 +185,7 @@ testLongHeaderGet () | |||
185 | header = curl_slist_append (header, url); | 185 | header = curl_slist_append (header, url); |
186 | 186 | ||
187 | curl_easy_setopt (c, CURLOPT_HTTPHEADER, header); | 187 | curl_easy_setopt (c, CURLOPT_HTTPHEADER, header); |
188 | curl_easy_setopt (c, CURLOPT_URL, "http://localhost:1080/hello_world"); | 188 | curl_easy_setopt (c, CURLOPT_URL, "http://localhost:11081/hello_world"); |
189 | curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, ©Buffer); | 189 | curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, ©Buffer); |
190 | curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc); | 190 | curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc); |
191 | curl_easy_setopt (c, CURLOPT_FAILONERROR, 1); | 191 | curl_easy_setopt (c, CURLOPT_FAILONERROR, 1); |