Lines Matching refs:url
272 char *meth, *url, *end; in http_server_get_asn1_req() local
339 url = meth = reqbuf; in http_server_get_asn1_req()
340 if ((accept_get && CHECK_AND_SKIP_PREFIX(url, "GET ")) in http_server_get_asn1_req()
341 || CHECK_AND_SKIP_PREFIX(url, "POST ")) { in http_server_get_asn1_req()
344 url[-1] = '\0'; in http_server_get_asn1_req()
345 while (*url == ' ') in http_server_get_asn1_req()
346 url++; in http_server_get_asn1_req()
347 if (*url != '/') { in http_server_get_asn1_req()
350 meth, url); in http_server_get_asn1_req()
354 url++; in http_server_get_asn1_req()
357 for (end = url; *end != '\0'; end++) in http_server_get_asn1_req()
377 if (strlen(meth) == 3 && url[0] == '\0') { in http_server_get_asn1_req()
382 len = urldecode(url); in http_server_get_asn1_req()
385 "invalid %s request -- bad URL encoding: %s", meth, url); in http_server_get_asn1_req()
390 if ((getbio = BIO_new_mem_buf(url, len)) == NULL in http_server_get_asn1_req()
408 while (*url == '/') in http_server_get_asn1_req()
409 url++; in http_server_get_asn1_req()
410 while (end >= url + 2 && end[-2] == '/' && end[-1] == '/') in http_server_get_asn1_req()
473 } else if (ppath != NULL && (*ppath = OPENSSL_strdup(url)) == NULL) { in http_server_get_asn1_req()
475 "out of memory allocating %zu bytes", strlen(url) + 1); in http_server_get_asn1_req()