Vsevolod Stakhov
14c13854d3
[Rework] Further types conversion (no functional changes)
2 months ago
Vsevolod Stakhov
6b2b416718
[Rework] Remove some of the GLib types in lieu of standard ones
This types have constant conflicts with the system ones especially on OSX.
2 months ago
Vsevolod Stakhov
75327b3889
[Project] Convert the remaining
2 months ago
Vsevolod Stakhov
537a7180a0
[Rework] Use clang-format to unify formatting in all sources
No meaningful changes.
10 months ago
Vsevolod Stakhov
075fa9fb2d
[Fix] Lua_tcp: Sigh, another try to fix `close` invocation
1 year ago
Vsevolod Stakhov
5209f8541b
[Fix] Another try to fix close method in lua_tcp
1 year ago
Vsevolod Stakhov
cdbacf2b13
[Fix] Fix hang when close is used
1 year ago
Vsevolod Stakhov
60cd96905a
[Fix] Same fix for lua_tcp
1 year ago
Vsevolod Stakhov
a853200823
[Minor] Partially restore reverted patch
1 year ago
Vsevolod Stakhov
8916bc1b2d
Revert "[Minor] Try to fix refcounts related crash"
This reverts commit 5bae837e5f
.
1 year ago
Vsevolod Stakhov
d9b7d2be2d
[Fix] Lua_tcp: Another try to fix closing logic
1 year ago
Vsevolod Stakhov
5bae837e5f
[Minor] Try to fix refcounts related crash
1 year ago
Vsevolod Stakhov
84e869eb4b
[Minor] Initialise variable
1 year ago
Vsevolod Stakhov
a2e5eef9c9
[Feature] Accept upstream in lua_tcp
1 year ago
Vsevolod Stakhov
ca1b2e4c39
[Fix] Distinguish dynamic and static items
2 years ago
Vsevolod Stakhov
22f603e83d
[Rework] Use dynamic items for calling callbacks
It is trivial to get a static item by dynamic item by just subtracting
pointers. So there is no need in other complications.
2 years ago
Josh Soref
2b8e6958f4
Spelling (#4086)
[Rework] Massive spelling fix from @jsoref
2 years ago
Vsevolod Stakhov
3deecad150
[Minor] Slightly improve session events logging
2 years ago
Vsevolod Stakhov
7fee396041
[Minor] Fix some more issues
Found by: coverity scan
2 years ago
Vsevolod Stakhov
19424515ec
[Minor] Fix some leaks on error paths
Found by: coverity scan
2 years ago
Vsevolod Stakhov
41e28d1148
[Rework] Further project structure reorganisation
4 years ago
Vsevolod Stakhov
9aa4003def
[Fix] Fix processing of the closed tcp connections
4 years ago
Vsevolod Stakhov
82e915649d
[Minor] Lua_tcp: Do not decrease item refcount with no watcher
4 years ago
Vsevolod Stakhov
705ef63d5d
[Fix] Lua_tcp: Deal with temporary fails on write
Issue: #3097
4 years ago
Vsevolod Stakhov
b07f3cc2e4
[Fix] Lua_tcp: Make write errors fatal and rework error handlers
Issue: #3097
4 years ago
Vsevolod Stakhov
04127efeba
[Fix] Distinguish remote and local addrs parsing
4 years ago
Vsevolod Stakhov
66d8b6e434
[Fix] Do not call implicit strlen to avoid issues
4 years ago
Vsevolod Stakhov
05cf67521d
[Minor] Fix check
4 years ago
Vsevolod Stakhov
6be8ca5a8f
[Minor] Allow no_ssl_verify similar to lua_http...
4 years ago
Vsevolod Stakhov
74b182e016
[Fix] Add debug to ssl, fixed write hangs
4 years ago
Vsevolod Stakhov
5b202c9e2f
[Minor] iov_len is size_t on Linux and int on osx
4 years ago
Vsevolod Stakhov
b60ceaa506
[Fix] Lua_tcp: Various fixes and debugging improvements
4 years ago
Vsevolod Stakhov
3a4ccea2af
[Minor] Do not use alloca for huge allocations
4 years ago
Vsevolod Stakhov
6bd388ae93
[Minor] Add flags for rspamd_lua_parse_table_arguments
4 years ago
Vsevolod Stakhov
495130bf1f
[Minor] Fix ssl utils and lua tcp
4 years ago
Vsevolod Stakhov
76530e7356
[Minor] Fix some more issues with timeouts
4 years ago
Vsevolod Stakhov
885b63d845
[Project] Another workaround for signals...
5 years ago
Vsevolod Stakhov
4b75d23d06
[Project] Adopt Lua API
5 years ago
Vsevolod Stakhov
98897c1797
[Project] First refactoring step libevent->libev
5 years ago
Vsevolod Stakhov
0b4e01b39e
[Minor] Lua_tcp: Add starttls implementation
5 years ago
Vsevolod Stakhov
4a56dc5e0e
[Feature] Lua_tcp: Add preliminary support of SSL connections
5 years ago
Vsevolod Stakhov
8303b19415
[Fix] Lua_tcp: Report connection failures
Issue: #2899
5 years ago
Vsevolod Stakhov
6943c3c3a4
[Minor] Refactor DNS resolver invocations
5 years ago
Vsevolod Stakhov
c249c21fc1
[Fix] Emit error if connection has been terminated with no stop pattern
5 years ago
Vsevolod Stakhov
4929e73f2b
[Project] Another rework for symbols cache
5 years ago
Vsevolod Stakhov
856cb10dda
[Minor] Various fixes around async events
5 years ago
Vsevolod Stakhov
0c20729f33
[Rework] Add more traces to async events, get rid of GQuarks
5 years ago
Vsevolod Stakhov
6be697a2ad
[Project] Adopt lua tcp
5 years ago
Vsevolod Stakhov
2b32d54c95
[Fix] Fix watchers issue in lua_tcp when doing no resolving
Issue: #2546
5 years ago
Mikhail Galanin
8b26fafde4
[Minor] Fixed error reported by ASAN: do not try usins already pop-ed watcher
The watcher is pop-ed once session is over but reference to the structure remains in Lua and then being removed from lua dtor.
In this case we try to pop it second time. Bad.
5 years ago