[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: [PATCH] svn protocol over windows named pipe

From: Kouji Matsui <k_at_kekyo.net>
Date: 2007-10-09 03:34:43 CEST

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
Received on Tue Oct 9 03:34:58 2007

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.