Lines Matching refs:SG

75 	http_sendheaders(PHG(cip)->fd, PHG(cip), SG(sapi_headers).http_response_code, NULL);  in php_phttpd_sapi_header_handler()
99 if (SG(sapi_headers).send_default_content_type) { in php_phttpd_sapi_send_headers()
186 memset(&SG(request_info), 0, sizeof(sapi_globals_struct)); /* pfusch! */ in php_phttpd_request_ctor()
188 SG(request_info).query_string = PHG(cip)->hip->request; in php_phttpd_request_ctor()
189 SG(request_info).request_method = PHG(cip)->hip->method; in php_phttpd_request_ctor()
190 SG(request_info).path_translated = malloc(MAXPATHLEN); in php_phttpd_request_ctor()
191 SG(sapi_headers).http_response_code = 200; in php_phttpd_request_ctor()
192 …if (url_expand(PHG(cip)->hip->url, SG(request_info).path_translated, MAXPATHLEN, &PHG(sb), NULL, N… in php_phttpd_request_ctor()
209 SG(request_info).path_translated = strdup(Ns_DStringValue(&ds)); in php_phttpd_request_ctor()
212 SG(request_info).request_uri = SG(request_info).path_translated + strlen(root); in php_phttpd_request_ctor()
213 SG(request_info).content_length = Ns_ConnContentLength(NSG(conn)); in php_phttpd_request_ctor()
215 SG(request_info).content_type = index == -1 ? NULL : in php_phttpd_request_ctor()
222 SG(request_info).auth_user = tmp; in php_phttpd_request_ctor()
228 SG(request_info).auth_password = tmp; in php_phttpd_request_ctor()
230 NSG(data_avail) = SG(request_info).content_length; in php_phttpd_request_ctor()
237 free(SG(request_info).path_translated); in php_phttpd_request_dtor()
252 file_handle.filename = SG(request_info).path_translated; in php_doit()
261 return SG(sapi_headers).http_response_code; in php_doit()