Re: g_io_channel_read_to_end read just 998 chars, not more



Problem solved. I have a very very simple and noob error in my code.
GLib and PHP script works right.

Thanks to all!

2010/5/28 Tadej Borovšak <tadeboro gmail com>:
> Hi.
>
>>>Well there is nothing in Glib that limits data to 998, it just keeps
>>>reading and extending the buffer until it gets EOF.  Better look at
>>>the PHP side some more and how you are transferring the data.
>>
>> Can't be this because I have substitute my script for a echo with
>> thousands of letters and just 998 have been read by
>> g_io_channel_read_line and g_io_channel_read_end.
>
> Have you tried substituting your PHP script with some other source of
> data? Or maybe try reading data in chunks of 100 chars to see if this
> makes any difference.
>
> Tadej
>
> --
> Tadej Borovšak
> tadeboro.blogspot.com
> tadeboro gmail com
> tadej borovsak gmail com
>



-- 
Thanks,
Frederico Schardong,
SOLIS - Open source solutions
www.solis.coop.br
Linux registered user #500582


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]