[
https://issues.apache.org/jira/browse/TS-2553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13917495#comment-13917495
]
ASF subversion and git services commented on TS-2553:
-----------------------------------------------------
Commit be1f214104b5f831fcbaf437782455c1c13eb096 in trafficserver's branch
refs/heads/master from [~nottheoilrig]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=be1f214 ]
TS-2553: improve metalink handling of event completion
- if we are not at the end yet and can't read any more content then don't
compute the digest
- zero the downstream nbytes as a shortcut to get it to send a
TS_EVENT_VCONN_WRITE_COMPLETE event
- avoid failed assert "sdk_sanity_check_iocore_structure(connp) ==
TS_SUCCESS" in TSVConnWrite() if the response is
304 Not Modified
- add some functional tests
This closes #51.
> Fix a segfault in the Metalink plugin reported by Faysal Banna and preserve
> the Content-Length header
> -----------------------------------------------------------------------------------------------------
>
> Key: TS-2553
> URL: https://issues.apache.org/jira/browse/TS-2553
> Project: Traffic Server
> Issue Type: Bug
> Components: Plugins
> Reporter: Jack Bates
> Assignee: James Peach
> Fix For: 5.0.0
>
>
> Fix a segfault in the Metalink plugin reported by Faysal Banna:
> https://github.com/jablko/dedup/issues/1
> Copy the upstream nbytes (if known) downstream to preserve the Content-Length
> header.
> Improve comments in the plugin code.
--
This message was sent by Atlassian JIRA
(v6.2#6252)