Skip to content
  • Damien George's avatar
    stmhal: Bug fix for usocket's accept and setsockopt methods. · 23342c09
    Damien George authored
    accept might raise an exception, in which case the new socket is not
    fully created.  It has a finaliser so will run close() method when GC'd.
    Before this patch close would try to close an invalid socket.  Now
    fixed.
    
    setsockopt took address of stack value which became out of scope.  Now
    fixed.
    23342c09