Overview
| Artifact ID: | 007efe5a6068724f4a4d63ffe0dec390c1380670 |
|---|---|
| Ticket: | 420060ffffffffffffffffffffffffffffffffff
Add -address option to http::geturl |
| User & Date: | hobbs on 2001-09-07 06:02:51 |
Changes
- closedate changed to: "2001-09-06T23:02:51"
- closer changed to: "hobbs"
- icomment:
Logged In: YES user_id=72656 The problem is that with the new http::register, this becomes very difficult to implement with an address option instead of using the register. You can just do: http::register 192http 80 [list ::socket -myaddr 192...] http::register 10http 80 [list ::socket -myaddr 10...] and so on. Any geturl with http://... will use the first system IP given, but 192http:// and 10http:// would use a specific address. Whereas you wanted: geturl -addr $myaddr $url you would now do: set addr 127.0.0.1 register ${addr}http 80 [list ::socket -myaddr $addr] geturl $addr$url maybe not as elegant, but seems good enough to me. - login: "hobbs"
- mimetype: "text/plain"
- resolution changed to: "Rejected"
- status changed to: "Closed"
- username: "hobbs"