Am Montag, Juni 06, 2011, 18:18:49 schrieb Michael Eiler:
> Tommi Mäkitalo <tommi@...> writes:
> > Hi,
...
> 
> Thank you very much!
> But I can't compile rev. 1230:
> 
> serverimpl.cpp: In member function ‘void
> cxxtools::http::ServerImpl::start()’: serverimpl.cpp:104:5: error:
> ‘::signal’ has not been declared
> serverimpl.cpp:104:14: error: ‘SIGPIPE’ was not declared in this scope
> serverimpl.cpp:104:23: error: ‘SIG_IGN’ was not declared in this scope
> 
> Is this line really required by cxxtools?
> 
> nice regards
> Michael
> 
> 
Oh - sorry - fixed.

SIGPIPE is emitted when a application tries to write on a socket, which was 
closed by the remote side. This may happen in a http server when a client 
sends a request and closes the connection, before the reply is received. By 
default the application is terminated and that is not, what is expected from a 
http server. Hence the server tells the OS to ignore it. The error is then 
handled in the application gracefully.

Tommi

------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
_______________________________________________
Tntnet-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tntnet-general

Reply via email to