Capstan is a Golang web framework that shares some similarities with others in its segment.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
302B

  1. package capstan
  2. import (
  3. "syscall"
  4. )
  5. // Duplicate the file descriptor underlying `conn`. This is called by the parent
  6. // process following Relaunch to ensure that client failures don't close the
  7. // parent's descriptors.
  8. func duplicate(conn syscall.Conn) (uintptr, error) {
  9. return uintptr(0), nil
  10. }