Re: [gnome-network]Transfer Manager (again!)
- From: Manuel Clos <llanero eresmas net>
- To: Rodney Dawes <dobey free fr>
- Cc: gnome-network-list gnome org
- Subject: Re: [gnome-network]Transfer Manager (again!)
- Date: Tue, 21 Oct 2003 23:11:21 +0200
Rodney Dawes wrote:
No. The code for handling headers is completely separate from when you
get an error code. Also, when you get a 30x error, "Location" is not
typically sent along with it.
Umh, I thinked you always get "Location:" with a temporary moved or a
permanently moved error. I won't comment further on the solution since I
still need to look into it :)
I got "stuck" because it is not possible to change the URI on a
connection, inside of the header callback functions internal to the
HTTP module.
Umh, but you could maintain a uri_redirected while the connection is
alive, isn't it?
Yes. However, as I said, I don't think it can be done in the current
HTTP module code with the way it works. It is certainly doable in the
client though.
Yes, I think so, too.
Simply using another library won't solve the problems. There will still
be other issues to deal with.
Do you know any? I'm looking at teuf code implementing the ftp code with
libcurl. I want to consider benefits and drawbacks.
Why are there thread issues? It seems like there would be less threading
issues with libcurl. I don't know for sure, of course, but it certainly
seems like it.
I will cite teuf here:
<teuf> benefits: it handles most of the ugly stuff by itself
<teuf> drawbacks: threads issues
<teuf> basically, once you opened a transfer, you always need to handle
it from the same thread
<teuf> and mayne you also need to create all connections from the same
thread
<teuf> I don't remember exactly the details
<teuf> it is thread safe, but not thread safe enough :)
<teuf> actually I stopped hacking on it when I realized there were
thread issues
<teuf> I wanted to investigate a bit more, but haven't done it yet
...
<llanero> so it is not a problem to add the dependency?
<teuf> if it works, it shouldn't be a problem
...
he got problems with nautilus when using libcurl as the backend.
For more details contact teuf directly. And CC me if possible.
See you.
--
Manuel Clos
llanero eresmas net
http://llanero.eresmas.net
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]