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:
valeski%netscape.com 1998-09-16 00:25:53 +00:00
Родитель 105efc857a
Коммит dc2ce5c125
1 изменённых файлов: 4 добавлений и 1 удалений

Просмотреть файл

@ -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? */