?

Log in

No account? Create an account
HTTP Proxy authentication support? - LogJam [entries|archive|friends|userinfo]
LogJam

[ website | LogJam ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

HTTP Proxy authentication support? [Oct. 29th, 2004|12:05 pm]
LogJam

logjam

[oneiris]
Since moving to university, I have to go through an HTTP proxy which requires authentication. Unfortunately, it seems I can't use logjam to update my journal anymore. It gives me the error saying that it was built with libxml's NanoHTTP support, which doesn't support proxy authentication. Are there any plans to include support for proxy authentication, possibly using a different http library, or adding to libxml's support?

It's a shame I can't use logjam for the minute, as it really is a lovely client.

Many thanks in advance for your help.
LinkReply

Comments:
[User Picture]From: bryan_e
2004-10-29 11:16 am (UTC)
build it with libcurl support. curl supports proxy authentication. I think all you have to do is ./configure --with-curl, gentoo does it automagically with USE flags so I am not positive.
(Reply) (Thread)
[User Picture]From: pantsgolem
2004-10-29 02:35 pm (UTC)
Logjam is built with libcurl by default. It only falls back to NanoHTTP if you don't have the libcurl headers or you specifically tell it. So oneiris probably doesn't have libcurl installed, and needs to get it.
(Reply) (Parent) (Thread)
From: evan
2004-10-29 06:08 pm (UTC)
Exactly.

In retrospect, it may have been a mistake to support NanoHTTP at all; you also don't get a status bar with it. :(
(Reply) (Parent) (Thread)
[User Picture]From: oneiris
2004-10-30 09:59 am (UTC)
Actually, I do have libcurl installed. I tried the debian pre-packaged version of logjam first, which wasn't built with curl support. But when I compiled logjam myself, without specifying --with-curl to ./configure, it didn't build with curl support either.
(Reply) (Parent) (Thread)
[User Picture]From: go_team_ari
2004-12-14 04:14 pm (UTC)
This is not a problem with Debian not building with curl, this is a problem with LogJam's configure not setting WITH_CURL correctly. Line 136 of configure.ac should look like this, instead of testing for $with_curl:

AM_CONDITIONAL(WITH_CURL, test "$network_backend" = "curl")
(Reply) (Parent) (Thread)
[User Picture]From: oneiris
2004-10-30 10:00 am (UTC)
Thanks for your help. Logjam is working now, and I'm all the more happier for it.
(Reply) (Thread)
[User Picture]From: bluknight
2004-12-14 03:34 pm (UTC)
I just ran into this issue as well, and am can confirm, looking through the Debian package configuration, that the package isn't built with libcurl support. I'm testing building that package with libcurl support right now, and I will be filing a bug in the Debian Bug Tracking System to get this fixed.
(Reply) (Thread)
[User Picture]From: bluknight
2004-12-14 04:17 pm (UTC)
(Reply) (Parent) (Thread)