1
0
mirror of https://github.com/haiwen/libsearpc.git synced 2025-04-28 02:30:08 +00:00
Commit Graph

261 Commits

Author SHA1 Message Date
杨赫然
5d00dc4d44 Blocking read and write socket 2024-09-25 18:19:31 +08:00
杨赫然
986ddf5e4f Support write with non-blocking 2024-09-23 16:53:00 +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
4ccd1988d8
Delete DESTDIR in libsearpc.pc (#66)
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2024-04-19 18:11:58 +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
cb1ffb2676
Merge pull request #63 from orbea/clang
Fix -Werror=strict-prototypes and -Werror=implicit-function-declaration
2023-12-21 11:26:30 +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
feiniks
d6ba8f60dc
Support compile universal (#64)
Co-authored-by: yangheran <heran.yang@seafile.com>
2023-05-13 17:32:55 +08:00
orbea
d78aede0e4 Fix -Werror=implicit-function-declaration
unistd.h is needed for write, close and read
2023-04-08 17:24:21 -07:00
orbea
ae466d2b3b Fix -Werror=strict-prototypes 2023-04-08 17:22:44 -07: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
feiniks
15f6f0b9f4
Filter rpc slow log include password (#61)
* Filter rpc slow log include password

* Add filtered funcs list

Co-authored-by: 杨赫然 <heran.yang@seafile.com>
2022-09-02 18:01:40 +08:00
feiniks
54145b03f4
Add support c++ compile (#60) 2022-04-25 11:58:24 +08:00
sun20121818
e72c1158c8
Change slow log format (#58) 2021-10-08 16:29:52 +08:00
sun20121818
e889dbcb50
Configure x64-debug build (#56) 2020-10-26 14:38:58 +08:00
Xiangyue Cai
50ff08b03c
add --with-python3 option (#55)
* add --with-python3 option

* debian package with python3
2020-06-18 11:23:11 +08:00
Xiangyue Cai
29f0c14b37
only use python3 in linux (#54) 2020-06-17 16:56:04 +08:00
caixiangyue
7e2bcb0991 remove python3 future 2020-06-08 15:16:18 +08:00
Xiangyue Cai
b0079d2a0c
configure with python3 (#53)
* configure with python3

* remove future
2020-06-08 15:09:06 +08:00
Xiangyue Cai
9a307a916c
Fixed python-searpc installation place (#52) 2020-06-05 16:56:35 +08:00
Xiangyue Cai
719921a984
use python3 (#51) 2020-06-03 22:10:34 +08:00
caixiangyue
c5d031eaa2 remove dependency: python-future 2020-06-02 16:52:10 +08:00
Jonathan Xu
d1fd7518a2 Merge branch 'portable-vs' 2020-03-20 16:01:27 +08:00
sun
9e62d54bcf Changed the directory of the target file 2019-12-19 11:56:40 +08:00
sun
c206362c99 Configure x64 release 2019-12-17 17:55:48 +08:00
caixiangyue
c72e6b6978 support x64 2019-12-02 16:34:14 +08:00
Jiaqiang Xu
35a19401d6
Merge pull request #48 from haiwen/fix_mem_leak
Fix memory leak.
2019-11-01 18:00:22 +08:00
caixiangyue
8b853cf41d export to generate lib 2019-11-01 15:52:36 +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
caixiangyue
23f581b39f Update version to 3.2.0 2019-10-24 11:05:55 +08:00
Jiaqiang Xu
501fa31d03
Merge pull request #47 from haiwen/optimize_named_pipe_server
Optimize name pipe server.
2019-10-19 14:28:44 +08:00
ly1217
f7c20fa391 Optimize name pipe server. 2019-10-18 23:16:32 -07:00
Jiaqiang Xu
fbbdafd2ab
Merge pull request #46 from haiwen/fixed-dependency-relationship
Debian: fixed pysearpc dependency relationship
2019-10-18 11:57:10 +08:00
caixiangyue
f10068c3f6 Debian: fixed pysearpc dependency relationship 2019-10-18 10:37:33 +08:00
Jiaqiang Xu
fb7242cd09
Merge pull request #45 from haiwen/update-dependency
add Build-Depends: python-future
2019-10-17 15:33:14 +08:00
caixiangyue
b4b8548368 add Build-Depends: python-future 2019-10-17 15:12:44 +08:00
Jiaqiang Xu
317877f996
Merge pull request #44 from haiwen/fix_memory_leak
Fix memory leak.
2019-09-25 12:04:37 +08:00
ly1217
19598f1d9d Fix memory leak. 2019-09-24 20:16:38 -07:00
Jiaqiang Xu
12d4c33f6e
Merge pull request #43 from haiwen/fix_test_error
Fix tests error.
2019-09-11 18:01:59 +08:00
ly1217
60ba8eca57 Fix tests error. 2019-09-11 01:48:20 -07:00
Jiaqiang Xu
5b21fe6e69
Merge pull request #41 from haiwen/add_named_pipe_server_thread_pool
Add named pipe server thread pool.
2019-09-11 14:55:28 +08:00
ly1217
1239667823 Add named pipe server thread pool. 2019-09-10 23:48:04 -07:00
Jiaqiang Xu
c137594507
Merge pull request #42 from haiwen/json_t_is_null
handle json is null
2019-09-10 11:09:57 +08:00
Xiangyue Cai
faaff4cf7b handle json is null 2019-09-10 10:48:10 +08:00
Jonathan Xu
c185be9413 Merge branch 'python3' 2019-07-25 12:10:31 +08:00
Jiaqiang Xu
2803f8d5cf
Merge pull request #40 from haiwen/fix-named-pipe-transport
Fix named pipe transport
2019-07-19 15:31:10 +08: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
Jonathan Xu
c161cb90a5 Remove G_LOG_DOMAIN, use default log domain. 2019-07-12 17:03:28 +08:00