Home
last modified time | relevance | path

Searched refs:tempfn (Results 1 – 2 of 2) sorted by relevance

/third_party/nghttp2/src/
DHttpServer.cc1177 char tempfn[] = "/tmp/nghttpd.temp.XXXXXX"; in prepare_upload_temp_store() local
1178 auto fd = mkstemp(tempfn); in prepare_upload_temp_store()
1182 unlink(tempfn); in prepare_upload_temp_store()
1185 auto path = std::string("echo:") + tempfn; in prepare_upload_temp_store()
1940 char tempfn[] = "/tmp/nghttpd.temp.XXXXXX"; in make_status_body() local
1941 int fd = mkstemp(tempfn); in make_status_body()
1947 unlink(tempfn); in make_status_body()
Dnghttp.cc2522 char tempfn[] = "/tmp/nghttp.temp.XXXXXX"; in run() local
2523 data_fd = mkstemp(tempfn); in run()
2529 if (unlink(tempfn) != 0) { in run()
2530 std::cerr << "[WARNING] failed to unlink temporary file:" << tempfn in run()