* GSWeb/GSWHTTPIO.m

use the file handle in non-blocking mode in GNUstep
          environment, uses a private GSFileHandle class


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@36683 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Sebastian Reitenbach 2013-05-31 08:28:05 +00:00
parent e0ca8e7c7e
commit 07ed53b16d
2 changed files with 9 additions and 4 deletions

View file

@ -1,6 +1,9 @@
2013-05-31: Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
* GSWeb/GSWMessage.[h|]
get rid of bogus #ifndef NO_GNUSTEP
* GSWeb/GSWHTTPIO.m
use the file handle in non-blocking mode in GNUstep
environment, uses a private GSFileHandle class
2013-05-30: Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
* GSWeb/GSWElement.h

View file

@ -61,6 +61,9 @@ static BOOL _alwaysAppendContentLength = YES;
//static NSString *CLOSE = @"close";
#ifdef GNUSTEP
@class GSFileHandle;
#endif
/* Get error information.
*/
@ -371,10 +374,9 @@ void _sendMessage(GSWResponse * message, NSFileHandle* fh, NSString * httpVersio
uint16_t rPort = 0;
NSString * rAddress = nil;
// checkme.
//#ifdef GNUSTEP
// [(GSFileHandle*) fh setNonBlocking: NO];
//#endif
#ifdef GNUSTEP
[(GSFileHandle *)fh setNonBlocking: NO];
#endif
// get info about who talks to us