[
https://issues.apache.org/jira/browse/TS-4523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15330512#comment-15330512
]
ASF GitHub Bot commented on TS-4523:
------------------------------------
Github user davidbz commented on the issue:
https://github.com/apache/trafficserver/pull/712
@zwoop - Thanks! it seems to work just fine on my machine.. still trying to
figure it out
@ushachar - Done! thanks..
> Add the ability to pause/resume data consumption in the CPP API
> ---------------------------------------------------------------
>
> Key: TS-4523
> URL: https://issues.apache.org/jira/browse/TS-4523
> Project: Traffic Server
> Issue Type: Improvement
> Components: Plugins
> Reporter: David Ben Zakai
> Assignee: Uri Shachar
> Fix For: 7.0.0
>
>
> It would be nice to be able to pause/resume the data consumption in the
> Transformation Plugin.
> My Own Use case:
> I'm writing the data into a file, when it reaches a certain size I'd like to
> produce the file output for the downstream, while doing so I'd like to avoid
> reading more data from the upstream.
> So the flow would be:
> consume -> write into a file (K times)
> file reaches X KB ?
> pause upstream socket
> produce data from file
> resume
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)