aboutsummaryrefslogtreecommitdiff
path: root/src/testspdy/test_requests_with_assets.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testspdy/test_requests_with_assets.c')
-rw-r--r--src/testspdy/test_requests_with_assets.c17
1 files changed, 14 insertions, 3 deletions
diff --git a/src/testspdy/test_requests_with_assets.c b/src/testspdy/test_requests_with_assets.c
index 6ec927e8..90869278 100644
--- a/src/testspdy/test_requests_with_assets.c
+++ b/src/testspdy/test_requests_with_assets.c
@@ -23,7 +23,7 @@
23 * libxml2. 23 * libxml2.
24 * @author Andrey Uzunov 24 * @author Andrey Uzunov
25 */ 25 */
26 26
27#include "platform.h" 27#include "platform.h"
28#include "microspdy.h" 28#include "microspdy.h"
29#include "common.h" 29#include "common.h"
@@ -133,8 +133,19 @@ standard_request_handler(void *cls,
133 const char *version, 133 const char *version,
134 const char *host, 134 const char *host,
135 const char *scheme, 135 const char *scheme,
136 struct SPDY_NameValue * headers) 136 struct SPDY_NameValue * headers,
137 bool more)
137{ 138{
139 (void)cls;
140 (void)request;
141 (void)priority;
142 (void)host;
143 (void)scheme;
144 (void)headers;
145 (void)method;
146 (void)version;
147 (void)more;
148
138 struct SPDY_Response *response; 149 struct SPDY_Response *response;
139 150
140 if(NULL != strstr(path,".css")) 151 if(NULL != strstr(path,".css"))
@@ -279,7 +290,7 @@ parentproc()
279 return html_resp_count != html_req_count; 290 return html_resp_count != html_req_count;
280} 291}
281 292
282int main(int argc, char **argv) 293int main()
283{ 294{
284 parent = getpid(); 295 parent = getpid();
285 port = get_port(10123); 296 port = get_port(10123);