Re: [gnet-dev] GConnHttp change
- From: cascardo minaslivre org
- To: gnet-dev lists gnetlibrary org
- Subject: Re: [gnet-dev] GConnHttp change
- Date: Sun, 29 Oct 2006 10:17:42 -0300
On Sun, Oct 29, 2006 at 01:50:33AM -0500, Samuel Cormier-Iijima wrote:
> Hi again,
>
> For the BitTorrent client I'm writing, I need to create a GConnHttp
> whose URL might include embedded NULLs. The thing is, the current
> gnet_conn_http_new accepts an unencoded URL which it then escapes for
> me. This patch changes the behavior so that it won't automatically
> escapes; it's required for my program but might break other
> functionality (which would then require users to escape the URL
> themselves.) Could this possibly be included? Thanks alot,
>
> Samuel
Hi, Samuel.
Since, as you said, it might break some other applications, perhaps, you
should write a new function gnet_conn_http_new_unescaped. Since it
would be very similar to gnet_conn_http_new, you should write an internal
function that would do what both functions have in common and use it in
both.
Regards,
Thadeu Cascardo.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]