nghttpx: Remove AltSvc ctor
This commit is contained in:
parent
27275a02ac
commit
3b2811bfc4
|
@ -2065,7 +2065,7 @@ int parse_config(const char *opt, const char *optarg,
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
AltSvc altsvc;
|
AltSvc altsvc{};
|
||||||
|
|
||||||
altsvc.protocol_id = std::move(tokens[0]);
|
altsvc.protocol_id = std::move(tokens[0]);
|
||||||
|
|
||||||
|
|
|
@ -256,8 +256,6 @@ enum shrpx_forwarded_node_type {
|
||||||
};
|
};
|
||||||
|
|
||||||
struct AltSvc {
|
struct AltSvc {
|
||||||
AltSvc() : port(0) {}
|
|
||||||
|
|
||||||
std::string protocol_id, host, origin, service;
|
std::string protocol_id, host, origin, service;
|
||||||
|
|
||||||
uint16_t port;
|
uint16_t port;
|
||||||
|
|
Loading…
Reference in New Issue