summaryrefslogtreecommitdiff
path: root/lib/c_glib
Commit message (Collapse)AuthorAgeFilesLines
* lib: c_glib: fix compile error due to missing unistd.hChristopher Friedt2022-11-251-0/+6
| | | | | | | | | | | Previously, the c_glib library tests failed to compile due to implicit function declarationsn for `sleep()`, `fork()`, and `alarm()`. Include `<unistd.h>` to address all of those issues (on platforms that have `<unistd.h>`). Signed-off-by: Christopher Friedt <cfriedt@meta.com>
* prefer openssl and zlib targets over library pathsTobias Weihs2022-09-111-3/+9
|
* Replace ThriftTest.thrift with v0.16/ThriftTest.thrift to allow for merging ↵Jens Geyer2022-09-052-6/+6
| | | | the partially completed uuid implementation to master
* Remove execute bit from plain text files in git (#2611)Christopher Tubbs2022-05-2417-0/+0
| | | | | | | Trivially change file mode from 755 to 644 for files in git that shouldn't be marked as executable. These were probably marked as executable due to some contributors developing on Windows using a filesystem that doesn't support POSIX file modes, or aggressively marks everything as executable.
* Use modern OpenSSL cmake syntax (if available), and larger cmake cleanupMario Emmenlauer2021-09-022-22/+31
|
* THRIFT-5421 c_glib:Fix the problem of incorrect setting of errno in some fileslm20482021-07-091-2/+5
| | | | | Client: c_glib Patch: lm2048
* Merge pull request #2383 from BioDataAnalysis/bda_minor_cmake_cleanupMario Emmenlauer2021-06-041-4/+1
|\ | | | | Minor cleanup of two CMake files, and removed (unused) boost deps
| * Minor cleanup of two CMake files, and removed some (unused) boost dependenciesMario Emmenlauer2021-05-051-4/+1
| |
* | THRIFT-5399: Fix socket leak in abnormal situationlm20482021-05-171-2/+9
|/
* THRIFT-5244 Dynamic exception specifications are deprecated in ↵zeshuai0072021-04-291-2/+2
| | | | | | | | | C++11[-Wdeprecated] Client: cpp Patch: Zezeng Wang This closes #2217
* THRIFT-5265 add the zlib transport to c_glibzeshuai0072021-04-0110-4/+1957
| | | | | | | Client: c_glib Patch: Zezeng Wang This closes #2216
* CMake: Pass linker dependencies transitively to downstream projectsMario Emmenlauer2021-02-121-1/+1
|
* Fix Missed check in c_glib for frame max message size checkzeshuai0072020-12-052-0/+14
|
* fix warning in c_glib from add max_message_size codezeshuai0072020-10-319-34/+35
|
* THRIFT-5256: Fix some compile warningswangyunjian2020-10-012-3/+3
| | | | | | | | | Client: c_glib Patch: wangyunjian This closes #2207 Signed-off-by: wangyunjian <wangyunjian@huawei.com>
* Fix c_glib implicit function declarationsChristopher Chavez2020-10-012-0/+8
| | | | | | | Client: c_glib Patch: Christopher Chavez This closes #2249
* add the test case into cmakezeshuai0072020-09-281-0/+24
|
* THRIFT-4272: warnings in glibc libraryzeshuai0072020-09-172-0/+35
| | | | | | | Client: c_glib Patch: Zezeng Wang This closes #2067
* THRIFT-5136: Fix memory leak in thrift_multiplexed_processor_process_impl()wangyunjian2020-09-022-7/+3
| | | | | | | | | Client: c_glib Patch: wangyunjian <wangyunjian@huawei.com> This closes #2052 Signed-off-by: wangyunjian <wangyunjian@huawei.com>
* THRIFT-5255: Fix stack overflow in framed transportwangyunjian2020-09-021-3/+4
| | | | | | | | | Client: c_glib Patch: wangyunjian <wangyunjian@huawei.com> This closes #2206 Signed-off-by: wangyunjian <wangyunjian@huawei.com>
* THRIFT-5268 Fix some file loss ")" in definezeshuai0072020-08-313-3/+3
| | | | | | | Client: c_glib Patch: Zezeng Wang This closes #2218
* THRIFT-5237 Implement MAX_MESSAGE_SIZE and consolidate limits into a ↵zeshuai0072020-08-0727-40/+2607
| | | | | | | | | TConfiguration class Client: c_glib Patch: Zezeng Wang This closes #2208
* THRIFT-5221: Fix stack overflow when reading bufferwangyunjian2020-06-181-2/+5
| | | | | | | | | Client: c_glib Patch: wangyunjian This closes #2161 Signed-off-by: wangyunjian <wangyunjian@huawei.com>
* THRIFT-5225: Use nullptr instead of NULLzeshuai0072020-06-141-3/+3
| | | | | | Patch: Zezeng Wang This closes #2168
* THRIFT-5122: Fix memory leak on accept error in thrift_simple_server_serve()wangyunjian2020-06-041-1/+4
| | | | | | | | | Client: c_glib Patch: wangyunjian This closes #2039 Signed-off-by: wangyunjian <wangyunjian@huawei.com>
* THRIFT-5076 Improve CMake OpenSSL usageKevin Wojniak2020-04-031-3/+2
| | | | | | | Client: c_glib Patch: Kevin Wojniak This closes #1994
* Fix some compile warningszeshuai0072020-03-222-6/+10
| | | | | | | Client: c_glib Patch: zeshuai007 <51382517@qq.com> This closes #2063
* Fix several warnings in c_glib lib and incorrect error messageKevin Wojniak2020-03-152-6/+2
| | | | | | | CLient: c_glib Patch: Kevin Wojniak This closes #1830
* THRIFT-5102: Fix memory leak in thrift_simple_server_serve()wangyunjian2020-02-211-0/+9
| | | | | | | | | Client: c_glib Patch: wangyunjian This closes #2012 Signed-off-by: wangyunjian <wangyunjian@huawei.com>
* THRIFT-5094: Fix memory leak in thrift_server_set_property()wangyunjian2020-02-211-0/+6
| | | | | | | | | Client: c_glib Patch: wangyunjian This closes #2008 Signed-off-by: wangyunjian <wangyunjian@huawei.com>
* THRIFT-5101: Return NULL install of FALSE for thrift_server_socket_accept()wangyunjian2020-02-211-1/+1
| | | | | | | | | Client: c_glib Patch: wangyunjian This closes #2011 Signed-off-by: wangyunjian <wangyunjian@huawei.com>
* THRIFT-4952 Modified ssl_read feedback value break all the time error.pengzhouhu2019-10-181-1/+1
| | | | | | | Client: c_glib Patch: pengzhouhu <pengzhouhu@huawei.com> This closes #1869
* THRIFT-4950 fix bind print error and Macro call errors thrift_server_socketpengzhouhu2019-09-221-2/+2
| | | | | | | Client: C_glib Patch: pengzhouhu This closes #1867
* THRIFT-4842 - Fix memory leak on set property c_glib (#1773)Gonzalo Aguilar Delgado2019-07-011-0/+1
|
* THRIFT-4878 - [c_glib] add unix domain socket support to ThriftSocket (#1807)Kevin Wojniak2019-07-014-19/+128
|
* THRIFT-4896 - prevent cpp and c_glib include directories from leaking into ↵Kevin Wojniak2019-07-012-4/+4
| | | | | | other targets (#1821) - enable the automake `nostdinc` option - fix up include paths
* THRIFT-4024, THRIFT-4783: throw when skipping invalid type (#1742)James E. King III2019-02-141-25/+47
| | | | | | | * THRIFT-4024: make c_glib throw on unsupported type when skipping * THRIFT-4783: throw on invalid skip (py) * THRIFT-4024: make cpp throw on unsupported type when skipping * THRIFT-4024: uniform skip behavior on unsupported type
* THRIFT-4732:refine cmake scripts (#1688)cyy2019-02-073-4/+2
| | | | | * add cmake support for clib and remove unused variables * add targets for code analysis * add wall to all compilers and add utf-8 options for msvc
* fix minor glib warningJames E. King III2019-02-021-1/+1
|
* THRIFT-4405: fix c_glib seqid limited to min 0 instead of full int32_t rangeJames E. King III2019-02-011-1/+1
|
* THRIFT-4762: Applied some C++11 refactorings to the runtime library and ↵Sebastian Zenker2019-01-291-96/+96
| | | | | | | | | | | | compiler (#1719) * make use of C++11 override keyword * added const specifier to TTransport::getOrigin() * added more const correctness to the compiler * make use of auto keyword * replaced usage of NULL with nullptr * make use of explicitly-defaulted function definition * extended changelog
* THRIFT-4720: documenting breaking changes, minor cleanupJames E. King III2019-01-091-1/+1
|
* remove unused variablescyy2019-01-073-9/+0
|
* remove stdcxx namespace and use std directlycyy2019-01-071-6/+6
|
* THRIFT-4671 handle client's unexpected close.lixiasong2018-11-231-4/+8
| | | | | handle client's unexpected close. Avoid the server work thread falling into dead loop because : 1. the function return result from INT32 coverts to UINT32 ; 2. the condition in line 482 "ftype == T_STOP" will never be satisfied when the client socket closed before sending data to server.
* THRIFT-4648: Use correct namespace in type namesSimon South2018-10-121-0/+15
| | | | Client: c_glib
* THRIFT-4329: multiplexed processor, client and server for c_glibGonzalo Aguilar Delgado2017-11-1817-790/+1665
| | | | | | Client: c_glib This closes #1361
* THRIFT-4376: fix a few high impact coverity defects:James E. King, III2017-10-2818-939/+922
| | | | | | | | 1458947: memory leak in compiler 1458787: resource leak in c_glib led to discovery of assert() abuse 1459090: fix string.find result check in JSON processor (unlikely) This closes #1404
* THRIFT-4212: Fix flush on invalid socketGonzalo Aguilar Delgado2017-09-211-2/+9
| | | | | | Client: c_glib This closes #1279
* THRIFT-4211: Fix logging in c_glibGonzalo Aguilar Delgado2017-09-212-29/+32
| | | | This closes #1278