trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Servalan eq <>
Subject RE: using curl during an http transaction
Date Thu, 05 Apr 2012 14:27:14 GMT

Hi Erik, did you ever get this TSHttpConnect call working?
I too am looking for some good examples to call a seperate HTTP service while processing a
request to determine how to handle it.
thanks very much,

> On 04/20/2011 02:16 PM, Earle, Erik wrote:

> Is there an example usage of TSHttpConnect somewhere?  I did not
see any in the examples.




Earle     206.664.4016     tie line:

Disney Connected and Advanced Technologies 

925 4th Ave - Suite 1600 - Seattle - 98104 


From: Leif Hedstrom

Sent: Wednesday, April 20, 2011 2:33 PM


Cc: Earle, Erik

Subject: Re: using curl during an http transaction


04/20/2011 02:16 PM, Earle, Erik wrote: 

all.   I’m new to the list and trafficserver.


building a plugin to do OAuth 2.  I’m looking to make a call to a separate
(REST) service to do the OAuth token validation.  


Does anyone
have experience with using something like curl or vconnections, etc… to make a
separate http request during an http transaction?  


You want to use the appropriate APIs that we provide to perform HTTP requests,
e.g. TSNetConnect() or TSHttpConnect().

-- leif 		 	   		  
View raw message