Skip to content

Commit

Permalink
Merge pull request #11070 from amaltaro/fix-11069
Browse files Browse the repository at this point in the history
Missed one set_opts use for PyCurl multirequest
  • Loading branch information
todor-ivanov authored Apr 6, 2022
2 parents 7b74272 + 0a46a16 commit 474fe9d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/python/WMCore/Services/pycurl_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -383,9 +383,8 @@ def multirequest(self, url, parray, headers=None,
if ret != pycurl.E_CALL_MULTI_PERFORM:
break
dummyNumq, response, dummyErr = multi.info_read()
for dummyCobj in response:
headers = self.parse_header(decodeBytesToUnicode(hbuf.getvalue()))
data = decompress(decodeBytesToUnicode(bbuf.getvalue()), headers)
for _respItem in response:
data = decodeBytesToUnicode(bbuf.getvalue())
data = json.loads(data)
if isinstance(data, dict):
data.update(params)
Expand Down

0 comments on commit 474fe9d

Please sign in to comment.