[ https://issues.apache.org/jira/browse/TS-2652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13949768#comment-13949768 ]
ASF subversion and git services commented on TS-2652: ----------------------------------------------------- Commit 521b6e11d4357ccaae348c4714b1084b39a199d0 in trafficserver's branch refs/heads/master from [~manjesh] [ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=521b6e1 ] TS-2652: Providing a true cancel() in AsyncTimer > atscppapi: Allow developers to cancel AsyncHttpFetch in specific and > AsyncProviders in general > ---------------------------------------------------------------------------------------------- > > Key: TS-2652 > URL: https://issues.apache.org/jira/browse/TS-2652 > Project: Traffic Server > Issue Type: Wish > Components: TS API > Reporter: Manjesh Nilange > Assignee: Brian Geffon > Fix For: 5.0.0 > > > Use case - if a plugin starts an async http fetch but wants to cancel it > before completion (timeout or something), the options available today are > 1) setting some state in the plugin and using this to ignore the callback. > 2) delete receiver (most cases a transaction plugin). > #1 is ugly and #2 is not possible always (there may be other things the > plugin wants to do). -- This message was sent by Atlassian JIRA (v6.2#6252)