mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 11:55:49 +00:00
M include/net.h
Adding two new url_struct attributes. uint32 localIP (can be set to specify a local ip address to bing the connecting socket to), boolean bypassProxy (can be set to skip over any proxies that would've been used.
This commit is contained in:
parent
dce87b2a1e
commit
37adfa9bef
@ -354,7 +354,9 @@ struct URL_Struct_ {
|
||||
* to track loads by URL and not context
|
||||
*/
|
||||
#endif /* XP_WIN */
|
||||
|
||||
uint32 localIP; /* a local ip address that should be
|
||||
* bound to the socket. */
|
||||
|
||||
int history_num; /* == add this to history list
|
||||
* dflt TRUE
|
||||
*/
|
||||
@ -404,6 +406,7 @@ struct URL_Struct_ {
|
||||
* buffer
|
||||
*/
|
||||
PRPackedBool
|
||||
bypassProxy, /* should we bypass the proxy (if any) */
|
||||
dontAllowDiffHostRedirect, /* Do we want to allow a redirect from host A to host B */
|
||||
post_data_is_file, /* is the post_data field a filename? */
|
||||
address_modified, /* was the address modified? */
|
||||
|
Loading…
Reference in New Issue
Block a user