Version 7.81 breaks support for multi-line header

Bug #1976619 reported by Olivier Gayot
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
curl (Debian)
Fix Released
Unknown
curl (Ubuntu)
Fix Released
Undecided
Olivier Gayot
python-tornado (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

In curl 7.81, the support of multi-line headers is broken.

This causes regressions in python-tornado:

```
                    self.stop()

            timeout_handle = self.add_timeout(self.time() + timeout, timeout_callback)
        self.start()
        if timeout is not None:
            self.remove_timeout(timeout_handle)
        assert future_cell[0] is not None
        if future_cell[0].cancelled() or not future_cell[0].done():
            raise TimeoutError("Operation timed out after %s seconds" % timeout)
> return future_cell[0].result()
E tornado.curl_httpclient.CurlError: HTTP 599: Header without colon
```

Revision history for this message
Olivier Gayot (ogayot) wrote :

Bug report in tornado: https://github.com/tornadoweb/tornado/issues/3143
Bug report in curl: https://github.com/curl/curl/issues/8844

A fixed was merged upstream in curl.

Changed in curl (Ubuntu):
assignee: nobody → Olivier Gayot (ogayot)
Revision history for this message
Olivier Gayot (ogayot) wrote :

Adding debdiff (applied upstream patch).
Will forward to Debian.

Changed in curl (Ubuntu):
status: New → Confirmed
tags: added: update-excuse
Changed in curl (Debian):
status: Unknown → New
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks Olivier, I sponsored the change now

Changed in curl (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package curl - 7.83.1-1ubuntu1

---------------
curl (7.83.1-1ubuntu1) kinetic; urgency=medium

  * Apply upstream patch to fix multi-line header support (LP: #1976619)

 -- Olivier Gayot <email address hidden> Thu, 02 Jun 2022 13:44:50 +0200

Changed in curl (Ubuntu):
status: Fix Committed → Fix Released
Changed in curl (Debian):
status: New → Fix Released
Revision history for this message
Olivier Gayot (ogayot) wrote :

Marking python-tornado as invalid since there is nothing to fix in the package itself.

Changed in python-tornado (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.