Lines Matching refs:util
67 #include "util.h"
249 cached_date_(util::http_date(tstamp_cached_)) {
309 util::make_socket_nodelay(fd);
327 void update_cached_date() { cached_date_ = util::http_date(tstamp_cached_); }
652 util::hexdump(stdout, buf.data(), nread);
775 util::hexdump(stdout, buf.data(), nread);
912 if (util::check_h2_is_selected(proto)) {
947 util::make_string_ref_uint(stream->balloc, file_length));
950 last_modified_str = util::http_date(last_modified);
1155 util::make_string_ref_uint(stream->balloc, file_ent->length));
1182 util::make_string_ref_uint(stream->balloc, length));
1249 last_mod = util::parse_http_date(ims);
1256 if (util::streq_l("nghttpd_do_not_respond_to_req=yes",
1273 path = util::percent_decode(stream->balloc, raw_path);
1539 if (util::strieq_l("100-continue", expect100)) {
1914 util::make_socket_nonblocking(fd);
1953 body += util::utos(port);
1976 return FileEntry(util::utos(status), nwrite, 0, fd, nullptr, {});
2027 auto service = util::utos(config->port);
2059 (void)util::make_socket_nonblocking(fd);
2076 std::string s = util::numeric_name(rp->ai_addr, rp->ai_addrlen);
2112 if (!util::select_h2(out, outlen, in, inlen)) {
2244 next_proto = util::get_default_alpn();