Re: [Ironpython-users] requests hang on get or post http request

2014-10-22 Thread Jeff Hardy
mailto:jdha...@gmail.com] > Sent: Monday, October 20, 2014 4:17 PM > To: Daniel Fernandez > Cc: ironpython-users@python.org > Subject: Re: [Ironpython-users] requests hang on get or post http request > > On Wed, Aug 27, 2014 at 12:03 AM, Daniel Fernandez > wrote: >> Hi J

Re: [Ironpython-users] requests hang on get or post http request

2014-10-21 Thread Daniel Fernandez
: [Ironpython-users] requests hang on get or post http request On Wed, Aug 27, 2014 at 12:03 AM, Daniel Fernandez wrote: > Hi Jeff, > > Is this something we want to go forward with the change in the > PythonBinaryReader:Read > > if(size == 0) { >return string.Empty; &g

Re: [Ironpython-users] requests hang on get or post http request

2014-10-20 Thread Jeff Hardy
On Wed, Aug 27, 2014 at 12:03 AM, Daniel Fernandez wrote: > Hi Jeff, > > Is this something we want to go forward with the change in the > PythonBinaryReader:Read > > if(size == 0) { >return string.Empty; > } > > Thanks. I had thought this was included in some other changes but it appears it

Re: [Ironpython-users] requests hang on get or post http request

2014-08-26 Thread Daniel Fernandez
: [Ironpython-users] requests hang on get or post http request Hi Jeff, I'm working on .NET 4.0.30319.18444 (32-bit). Yup I like the way you handle the scenario. I did the same thing I couldn't tell from the docs if NetworkStream with size == 0 if it should block or not. Danny > Date

Re: [Ironpython-users] requests hang on get or post http request

2014-08-22 Thread Daniel Fernandez
Ironpython-users] requests hang on get or post http request > From: jdha...@gmail.com > To: fernandez_d...@hotmail.com > CC: ironpython-users@python.org > > On Thu, Aug 21, 2014 at 5:37 PM, Daniel Fernandez > wrote: > > Hi All, > > > > I'm using the late

Re: [Ironpython-users] requests hang on get or post http request

2014-08-22 Thread Jeff Hardy
On Thu, Aug 21, 2014 at 5:37 PM, Daniel Fernandez wrote: > Hi All, > > I'm using the latest 2.7.5 b3 code and I wanted to see if requests works. I > pulled the latest from github. It would hang on simple requests.get or > requests.post. It would hang on the reading the http response. I attached >

[Ironpython-users] requests hang on get or post http request

2014-08-21 Thread Daniel Fernandez
Hi All, I'm using the latest 2.7.5 b3 code and I wanted to see if requests works. I pulled the latest from github. It would hang on simple requests.get or requests.post. It would hang on the reading the http response. I attached the debugger and traced it to PythonBinaryReader:Read method. in t