You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2018/04/18 02:42:55 UTC
[GitHub] nickva closed pull request #1287: Fix length badarg error in mp
parser
nickva closed pull request #1287: Fix length badarg error in mp parser
URL: https://github.com/apache/couchdb/pull/1287
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/src/couch/src/couch_httpd_multipart.erl b/src/couch/src/couch_httpd_multipart.erl
index e556b283fa..33795a3a1b 100644
--- a/src/couch/src/couch_httpd_multipart.erl
+++ b/src/couch/src/couch_httpd_multipart.erl
@@ -208,7 +208,8 @@ remove_writer(WriterPid, WriterRef, Counters) ->
{ok, {WriterRef, _}} ->
case num_mp_writers() of
N when N > 1 ->
- num_mp_writers(N - 1);
+ num_mp_writers(N - 1),
+ orddict:erase(WriterPid, Counters);
_ ->
abort_parsing
end;
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services