feiniks
36706a9f32
Clean log ( #73 )
...
Co-authored-by: 杨赫然 <heran.yang@seafile.com >
2024-12-31 12:17:10 +08:00
Moritz Schlarb
d00c062d76
Update searpc-named-pipe-transport.c ( #68 )
...
Use g_realloc in named_pipe_client_handler
2024-10-31 12:25:46 +08:00
feiniks
c917575246
Support write with non-blocking ( #71 )
...
* Support write with non-blocking
* Blocking read and write socket
---------
Co-authored-by: 杨赫然 <heran.yang@seafile.com >
2024-09-27 17:18:49 +08:00
feiniks
ed12cfba81
Use epoll to support multiple connections ( #70 )
...
* Use epoll to support multiple connections
* Set socket to nonblocking and re-add socket to epoll
* Support reading request length
* Use data->len directly
---------
Co-authored-by: 杨赫然 <heran.yang@seafile.com >
2024-07-26 18:41:39 +08:00
feiniks
7fd078664b
Print log when thread pool is full ( #67 )
...
Co-authored-by: 杨赫然 <heran.yang@seafile.com >
2024-04-19 18:03:53 +08:00
feiniks
783141fb69
Close socket when failed to connect name pipe ( #65 )
...
Co-authored-by: heran yang <heran.yang@seafile.com >
2023-05-27 14:57:05 +08:00
Dmitry Bolshakov
97e15aa5a9
Waiting with WaitNamedPipe() if a named pipe is busy ( #62 )
...
Co-authored-by: Dmitry Bolshakov <d.bolshakov@bi.zone >
2023-02-24 12:03:43 +08:00
Jonathan Xu
d1fd7518a2
Merge branch 'portable-vs'
2020-03-20 16:01:27 +08:00
caixiangyue
3291d04cec
libsearpc portable visual studio
2019-11-01 14:58:00 +08:00
ly1217
9b2e2dc652
Fix memory leak.
2019-10-31 00:31:38 -07:00
ly1217
f7c20fa391
Optimize name pipe server.
2019-10-18 23:16:32 -07:00
ly1217
19598f1d9d
Fix memory leak.
2019-09-24 20:16:38 -07:00
ly1217
1239667823
Add named pipe server thread pool.
2019-09-10 23:48:04 -07:00
Jonathan Xu
2e1f32b83a
Change system error messages to US English.
2019-07-19 15:27:58 +08:00
Jonathan Xu
0c26e154cb
Remove debug messages in named pipe transport.
2019-07-18 10:44:49 +08:00
Shuai Lin
212281a882
Fixed windows named pipe transport
...
pipe_write_n should return -1 on error
2019-07-09 15:30:25 +08:00
Jonathan Xu
041fd68e1c
Fix variable sizes in named pipe transport.
...
Should use 32-bit integer to store the length header in transport protocol.
2018-11-15 17:50:10 +08:00
Jiaqiang Xu
980203eaf7
Revert "Fix variable types and pointer sizes"
2018-11-15 14:29:22 +08:00
Moritz Schlarb
10e7432cab
Fix variable types and pointer sizes
...
Thanks to Adrian Bunk for pointing these out in
http://bugs.debian.org/895467
2018-10-03 10:27:34 +02:00
Shuai Lin
28619641b8
Improved named pipe transport on windows.
2016-07-28 17:06:27 +08:00
Shuai Lin
906082601d
More memory leak fixed.
2016-07-28 17:06:27 +08:00
Shuai Lin
112a2565e6
Fixed memory leaks.
2016-07-28 17:06:27 +08:00
Shuai Lin
25ce2aeceb
Fixed a bug in named pipe transport.
2016-07-28 17:06:27 +08:00
Shuai Lin
749a480fda
pipe clients: added concurrency tests.
2016-07-28 17:06:27 +08:00
Shuai Lin
eb7fb022de
named pipe transport: compile on windows.
2016-07-28 17:06:27 +08:00
Shuai Lin
307d466eb1
named pipe transport: compile on linux.
2016-07-28 17:06:27 +08:00
Shuai Lin
ae0cebc0eb
named pipe transport: Support multipe searpc services.
2016-07-28 17:06:27 +08:00
Shuai Lin
0cac14f39f
named pipe transport: Added pipe client and pipe server.
2016-07-28 17:06:27 +08:00