1
0
mirror of https://github.com/haiwen/libsearpc.git synced 2025-09-18 16:07:05 +00:00
Commit Graph

99 Commits

Author SHA1 Message Date
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
Xiangyue Cai
faaff4cf7b handle json is null 2019-09-10 10:48: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
Shuai Lin
212281a882 Fixed windows named pipe transport
pipe_write_n should return -1 on error
2019-07-09 15:30:25 +08:00
ly1217
474bf337d8 Fix the unit of slow log threshold. 2018-12-25 10:44:41 +08:00
Jonathan Xu
22cfe9adbe Add slow log support. 2018-12-21 18:38:38 +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
686c15f29e Fixed compile warnings 2018-06-21 10:49:39 +08:00
Shuai Lin
0570df3f4a Fixed searpc-codegen. 2017-06-20 14:51:32 +08:00
Shuai Lin
672bb90032 Make searpc-codegen python3-compatible. (#28) 2017-06-20 01:36:59 -05:00
yejianguo
1bbb420150 allow return NULL for json return type 2016-07-28 17:06:27 +08:00
Shuai Lin
28619641b8 Improved named pipe transport on windows. 2016-07-28 17:06:27 +08:00
Shuai Lin
de84634c66 Fix traivis ci, which has an older version of libjansson. 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
55001da28a More memory leak fixes. 2016-07-28 17:06:27 +08:00
Shuai Lin
112a2565e6 Fixed memory leaks. 2016-07-28 17:06:27 +08:00
Shuai Lin
53a1663d0d Support json param type. 2016-07-28 17:06:27 +08:00
Shuai Lin
5fd3bb7176 Support json value in async mode. 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
48a9c675ed Added json return type. 2016-07-28 17:06:27 +08:00
Shuai Lin
0228a79c97 Improved client headers to be used in c++ forward declaration. 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
7bc0bfbe27 pipe transport: updated struct definition. 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
b76607f784 Replace tabs with spaces. 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
poetwang
8998e7b2c5 Fix memory leak 2014-08-14 23:48:58 +08:00
Chilledheart
2b71149baf [lib] fix searpc codegen issue 2014-08-07 23:03:07 +08:00
Chilledheart
ba0d080d3d [lib] cleanup some compiler warnings
- lib/searpc-client.c:353:1: warning: control reaches end of non-void function [-Wreturn-type]
   - lib/searpc-utils.c:93:13: warning: enumeration value 'JSON_ARRAY' not handled in switch [-Wswitch]
2014-06-29 13:07:42 +08:00
plt
aedbbb184f Print the exact file that loaded rpc function table from 2013-12-30 10:29:30 +08:00
lins05
6110ad3cbc fallback g_value_set_schar to g_value_set_char for glib<2.32 2013-12-19 10:47:27 +08:00
lins05
f8045eaee3 fixed compile for glib-2.28 2013-12-13 15:51:35 +08:00
Jiaqiang Xu
87602806b6 Fix a pointer bug. 2013-11-05 16:45:10 +08:00
Jiaqiang Xu
2c3f140fcc Merge branch 'json' 2013-11-04 11:27:36 +08:00
poetwang
9ba717d38b Fix the bug of cast int GType to int 2013-08-24 13:02:18 +08:00
vegarden
1aa4d1e041 a little fix 2013-08-09 14:30:18 +08:00
vegarden
65677b5601 fix somebugs 2013-08-09 14:24:12 +08:00
vegarden
e2e594a8a2 improve some details 2013-08-09 12:56:37 +08:00
vegarden
09b9b0cb27 replace json-glib with jansson 2013-08-08 16:24:20 +08:00
gnehzuil
f1d6bc56a2 Avoid using python3 as default python interpreter.
Now if the user wants to build libsearpc when he/she has installed
python3 as default python interpreter.  He/She need to build program
as following steps:
 1. ./configure PYTHON=/usr/bin/python2.x
 2. make
 3. make install
2013-01-04 14:17:43 +08:00
plt
d1256247ee searpc-codegen load function table from any py file 2012-09-11 16:12:24 +08:00
plt
97db61a6de Clean lib/Makefile.am 2012-07-13 14:25:31 +08:00
killing
56a4d930cb Support int64 arguments in C. 2012-06-27 11:40:59 +08:00