[ https://issues.apache.org/jira/browse/TS-692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Leif Hedstrom resolved TS-692. ------------------------------ Resolution: Fixed > Allow for setting the source address for the connection to the origin server > ---------------------------------------------------------------------------- > > Key: TS-692 > URL: https://issues.apache.org/jira/browse/TS-692 > Project: Traffic Server > Issue Type: New Feature > Components: TS API > Reporter: M. Nunberg > Assignee: Leif Hedstrom > Fix For: 2.1.7 > > Attachments: ts692.diff > > > It would be nice to have the ability to set the source address of the socket > which will connect to the origin server. Useful when fetching pages using > geo-targetting and when many different IPs are at one's disposal. > Any way would be a good way to do this, but it seems that per > http://trafficserver.apache.org/docs/v2/sdk/HTTPTransactionFunctions.html, > something like HttpTxnSourceIPSet(txn,ip) should do, but really anything > should be sufficient. > { > /*Just to be clear: under the hood, something like this should happen:*/ > int sock = socket(...); > /*I need control for this line:*/ > bind(sock,...); > /*Connect to the origin server*/ > connect(sock,...); > } -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira