Package: devscripts
Version: 2.26.13
Severity: normal
File: /usr/bin/uscan
X-Debbugs-Cc: [email protected]

Recently, using uscan against GitHub repositories has been generating
failures that look like:

uscan warn: In watchfile debian/watch, reading webpage
  https://github.com/fedora-python/tox-current-env/tags failed: 500 Header line 
too long (limit is 8192)

It's possible to tell LWP to just use the longer header data and then it
works. I'm not sure where the right place for this configuration is - I
shoved it directly into /usr/bin/uscan in order to test this.

/---

use LWP::UserAgent;
use LWP::Protocol::http;
push(@LWP::Protocol::http::EXTRA_SOCK_OPTS, MaxLineLength => 0);

---/

Hope that helps as a starting point.

thanks
Stuart

Reply via email to