Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

transmission: CONFIG_LIBCURL_ZLIB must be enabled for http announce #4807

Closed
wants to merge 1 commit into from

Conversation

V-E-O
Copy link

@V-E-O V-E-O commented Sep 6, 2017

Maintainer: me
Compile tested: LEDE 17.01.2
Run tested: Broadcom BCM47xx/53xx (ARM) device
Description:
When TR does http announce, libcurl is set with accept GZIP encoding, https://github.com/transmission/transmission/blob/2.92/libtransmission/web.c#L183
. So CONFIG_LIBCURL_ZLIB must be selected or http annouce GZIP response will cause error.

Signed-off-by: VYSE V.E.O VEO@LIVE.COM

When TR does http announce, libcurl is set with accept GZIP encoding, https://github.com/transmission/transmission/blob/2.92/libtransmission/web.c#L183
. So CONFIG_LIBCURL_ZLIB must be selected or http annouce GZIP response will cause error.

Signed-off-by: VYSE V.E.O <VEO@LIVE.COM>
@hnyman
Copy link
Contributor

hnyman commented Sep 6, 2017

maintainer is @obsy

But the fix looks wrong to me, as this would change all libcurl compilations (also in buildbot, I think).

Transmission should not change another package's build config.

@V-E-O
Copy link
Author

V-E-O commented Sep 6, 2017

@hnyman I think it's only dependency config that Transmission should be built with a libcurl zlib enabled, or users may be noticed to tick both transmission and library->curl->enable zlib every menuconfig.
This CONFIG_LIBCURL_ZLIB was option to generate target arch package libcurl.so with zlib, not affecting buildbot.

@champtar
Copy link
Member

champtar commented Dec 4, 2017

Hi @V-E-O

I agree with @hnyman, we cannot accept +@LIBCURL_ZLIB as LIBCURL_ZLIB defaults to no, and this will silently change the default when doing a build of all packages (like the buildbots are doing)

You can try (but I don't think you will succeed) to convince people to:

  • enable LIBCURL_ZLIB by default
  • have 2 versions of libcurl (libcurl-zlib or libcurl-full)

Else you can put a dependency on @LIBCURL_ZLIB (without the +) which means transmission will not be built anymore by the buildbots (which I'm not convince is a good solution)

The only realistic solution for me is to patch transmission to not advertise GZIP support when it's not supported

@cfpp2p
Copy link

cfpp2p commented Jan 31, 2018

@V-E-O
Copy link
Author

V-E-O commented Feb 1, 2018

Same issue like this one #5459

Wait for if TR accept removing the default requirement of ZLIB.

cfpp2p pushed a commit to cfpp2p/transmission that referenced this pull request Feb 2, 2018
cfpp2p pushed a commit to cfpp2p/transmission that referenced this pull request Feb 2, 2018
@hnyman
Copy link
Contributor

hnyman commented Feb 4, 2018

closing due to #5560 and the upstream transmission changes mentioned above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants