Skip to content

Commit

Permalink
withRequestRecords can cause ConcurrentModificationException on the m…
Browse files Browse the repository at this point in the history
…etadata, fixes #721
  • Loading branch information
jnioche committed May 12, 2019
1 parent b3d0d96 commit b16e12f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,9 @@ public byte[] format(Tuple tuple) {
/*
* The request record ID is stored in the metadata so that a WARC
* response record can later refer to it.
* Deactivated because of https://github.com/DigitalPebble/storm-crawler/issues/721
*/
metadata.addValue("_request.warc_record_id_", mainID);
// metadata.setValue("_request.warc_record_id_", mainID);

int contentLength = httpheaders.length;
buffer.append("Content-Length").append(": ")
Expand Down

0 comments on commit b16e12f

Please sign in to comment.