mirror of
https://github.com/urbit/shrub.git
synced 2024-11-27 18:34:48 +03:00
Use assumed-secure for the "secure" port
This commit is contained in:
parent
061e7d026a
commit
5ab32ac055
@ -8,6 +8,6 @@ http-ports-line = port-num SP secure-val SP loopback-val
|
||||
; number of a port being listened on
|
||||
port-num = *DIGIT
|
||||
; whether the http subsystem has the port marked as "secure"
|
||||
secure-val = ("secure" / "insecure")
|
||||
secure-val = ("assumed-secure" / "insecure")
|
||||
; whether the port is bound only on loopback or on all interfaces
|
||||
loopback-val = ("loopback" / "public")
|
||||
|
@ -1109,7 +1109,7 @@ _http_write_ports_file(c3_c *pax_c)
|
||||
por_u = fopen(paf_c, "w");
|
||||
for ( htp_u = u3_Host.htp_u; htp_u; htp_u = htp_u->nex_u ) {
|
||||
fprintf(por_u, "%u %s %s\n", htp_u->por_w,
|
||||
(c3y == htp_u->sec) ? "secure" : "insecure",
|
||||
(c3y == htp_u->sec) ? "assumed-secure" : "insecure",
|
||||
(c3y == htp_u->lop) ? "loopback" : "public");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user