On 27/10/2010, at 12:53 AM, john skaller wrote:

>> 
>> 
>> OK, I have checked the remote when the Content-Length field is set, 
>> and that works. So it seems to be necessary. Grrr.. rewrite of webserver
>> coming up ;(
> 
> 
> Ok, it is done and checked in, and now everything works fine on localhost,
> however with the remote server, the old problem is back: the tail of
> some data simply isn't being delivered. Firefox hangs waiting for
> data after having shown some of it. It keeps waiting even after the server
> shuts down the connection and closes the socket. There is a 10 second
> delay in the server before the shutdown.. ok, this is on slicehost.com
> so maybe that isn't long enough ..
> 
> I'm again at a loss ;(
> 



.. especially as now I can't get it to fail (even on slicehost)..

So my next trick is to try to use

daemon()

so I can leave it running  but I can't get that to work on OSX.
I know it's deprecated by launchctl command doesn't seem to work either.
It actually shows the process in state 1, but the server isn't working.
ps -x doesn't show anything.

I know creating a daemon can be a mess.. still, daemon exists,
it certainly takes the server off the terminal, and it should just work.
[Why is Unix so difficult? I mean, things should "just work" but
instead they just never work..]

[One of my friends wrote a whole library for making daemons,
it's a black art .. why? to do something so simple as run a process?]

--
john skaller
skal...@users.sourceforge.net





------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to