You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Kouji Matsui <k...@kekyo.net> on 2007/10/09 01:34:43 UTC

RE: [PATCH] svn protocol over windows named pipe

Hi,

I am still continuing, I want you to teach because
it might not understand.

"svn_ra_svn_conn_t*" is handed over after thread is
generated with svnserve and it communicates.
However, when thread ends, no one seems to close
the socket descriptor included in it.

1:When I implemented named pipe, the function named
  "svn_stream_set_close()" was found.
  However, it was not able to be found by implementing
  socket and file descriptor.
  The "close_fn" member becomes NULL if this function is
  not called, and nothing is done.

2:There is no close function corresponding to
  "svn_ra_svn_create_conn()" and "svn_ra_svn__stream_create()".
  Because it cannot access "stream*" member of the structure
  from the outside, it is not possible to close by calling
  "svn_stream_close()".
  Only, it closes for oneself at "run_mode_listen_once".
  (apr_socket_close(usock); )

Is this a bug that has not been found yet,
or is descriptor closed in another somewhere?

Thanks

----------------------
Kouji Matsui
mailto:k@kekyo.net
# It will be automatically discarded if the attached file of
# executable files or "HTML mail" is transmitted to this mail address.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org