Currently the HTTP download code uses sock_write, which imposes MSG_DONTROUTE when sending the request 1. IIUC the intention is to limit the traffic to local network, but MSG_DONTROUTE seems to be a noop for TCP 2. Can we lift this flag for TCP socket (I can make a PR if that sounds good)? I am asking because I tried to use libupnp on fuchsia, but this flag isn't supported there 3, so UpnpRegisterRootDevice4 is always failing for me.
Currently the HTTP download code uses sock_write, which imposes
MSG_DONTROUTE
when sending the request 1. IIUC the intention is to limit the traffic to local network, butMSG_DONTROUTE
seems to be a noop for TCP 2. Can we lift this flag for TCP socket (I can make a PR if that sounds good)? I am asking because I tried to use libupnp on fuchsia, but this flag isn't supported there 3, soUpnpRegisterRootDevice4
is always failing for me.