[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #5129 [Tor Relay]: Avoid fcntl(O_NONBLOCK) calls on Linux



#5129: Avoid fcntl(O_NONBLOCK) calls on Linux
-----------------------+----------------------------------------------------
 Reporter:  nickm      |          Owner:                    
     Type:  defect     |         Status:  new               
 Priority:  minor      |      Milestone:  Tor: 0.2.4.x-final
Component:  Tor Relay  |        Version:                    
 Keywords:             |         Parent:                    
   Points:             |   Actualpoints:                    
-----------------------+----------------------------------------------------
 We already use the SOCK_CLOEXEC  extesion to
 socket/accept4/open/socketpair on Linux so that we can create a socket/fd
 and make it close-on-exec in a single syscall.  In 0.2.4.x, we might want
 to do the same for opening a nonblocking socket.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/5129>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs