Changeset 311
- Timestamp:
- 06/06/07 18:42:57 (1 year ago)
- Files:
-
- wifidog/wifidog-client/libhttpd/api.c (modified) (3 diffs)
- wifidog/wifidog-client/libhttpd/httpd.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
wifidog/wifidog-client/libhttpd/api.c
r289 r311 572 572 } 573 573 574 575 #if 0 576 /* XXX: For WifiDog, we only process the query string parameters 577 but keep the GET variables in the request.query! 578 */ 574 579 /* 575 580 ** Process and POST data 576 581 */ 577 #if 0578 582 if (r->request.contentLength > 0) 579 583 { … … 584 588 } 585 589 #endif 586 590 587 591 /* 588 592 ** Process any URL data … … 591 595 if (cp != NULL) 592 596 { 593 *cp= 0;594 cp++;597 *cp++ = 0; 598 strncpy(r->request.query, cp, sizeof(r->request.query)); 595 599 _httpd_storeData(r, cp); 596 600 } 597 return(0); 601 602 return(0); 598 603 } 599 604 wifidog/wifidog-client/libhttpd/httpd.h
r289 r311 99 99 authLength; 100 100 char path[HTTP_MAX_URL], 101 query[HTTP_MAX_URL], 101 102 host[HTTP_MAX_URL], /* acv@acv.ca/wifidog: Added decoding 102 103 of host: header if present. */ 104 ifModified[HTTP_MAX_URL]; 105 #if(0) 103 106 userAgent[HTTP_MAX_URL], 104 107 referer[HTTP_MAX_URL], 105 ifModified[HTTP_MAX_URL],106 108 contentType[HTTP_MAX_URL], 107 109 authUser[HTTP_MAX_AUTH], 108 110 authPassword[HTTP_MAX_AUTH]; 111 #endif 109 112 } httpReq; 110 113
