Skip to content

Conversation

@kezhuw
Copy link

@kezhuw kezhuw commented Jan 4, 2014

See commit messages.

other issues:

  • make_daemon() close stdin/stdout/stderr, it is erroneous. dup2 "/dev/null" is a choice, or better to to files.
  • socket_accept() don't handle case that there is no connection, which may happen in rare case, in listen queue (qnet_tcp_accept() return 0(QOK) in this case, in my opinion, it is not a good idea, just because 0 is a valid file descriptor).

kezhuw added 3 commits January 4, 2014 22:00
  * qsocket_t's event.data is socket itself, not actor
  * uninitialized 'remote' address in socket_connect()
  * redundant socket entity created in socket_connect(),
    already in qltcp_connect()
  * error retrieved from getsockopt is a meaningful errno
work in case that gmake is not the default make
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant