Are you using THttpClient? - Rush
On Apr 27, 2010, at 5:22 AM, ståle pedersen wrote: > hi, im writing a music streaming client (similar to spotify) in c++ > that fetches data from a server using thrift (java server). > The target of the client is to use it on maemo/meego devices (and in > the future symbian devices), the current primary > target is the Nokia N900 phone (but the client runs on linux, mac too). > > I've got it working, but then i noticed something. On some of the > playlists I had (not all), I would get an exception from thrift saying > "Could not refill buffer" (I get this error on other operations too). > I can reproduce this on the Nokie N900 phone, on Linux and on Mac > (havent tested on windows), but I cant reproduce it on a client > using Java. This leads me to think that there is an issue with the c++ > library. Here is the code used to connect to the server: > https://garage.maemo.org/plugins/scmsvn/viewcvs.php/src/thrift/thriftmanager.cpp?root=womp&view=markup > (fethcing images and the actual music stream is outside of thrift) > > I've tried the 0.2.0 version and a few different head versions all > with the same result. I havent been able to take a tcp dump of the > data stream that is causing this, but ill try if you think it would be > easier to see what is causing it. > > Have any other experienced getting the same exception I've seen? > > regards, ståle
