Rakesh,
Also I believe if you NEVER want to forward the request to the origin then
all you need is an Intercept Plugin, take a look at the C++ API as it makes
it pretty simple, but if you sometimes want to forward the request to the
origin based on the request body then take a look at my pull reque
I also have an open pull request :
https://github.com/apache/trafficserver/pull/351 that does exactly this, as
you've observed with transformations it's unable to block the downstream
connection and so this pull request exposes a new API to buffer the request
body before allowing the downstream con
On Tue, 2016-04-05 at 23:19 -0700, Rakesh Chhabra wrote:
> Hi,
>
> I need to write an ATS plugin where i need to get the post body and a few
> request headers in the call. And based on certain condition i want to
> return the OK response from ATS itself without forwarding it to any origin
> server
Hi,
I need to write an ATS plugin where i need to get the post body and a few
request headers in the call. And based on certain condition i want to
return the OK response from ATS itself without forwarding it to any origin
server.
I went through null transform and few other plugin, where i can ho