Commit Graph

28 Commits

Author SHA1 Message Date
Georgy Rylov c25c5bd050
Applying clang-format with saving indentations (#140)
* applying clang-format with saving indentations

* rebase
2020-04-02 16:00:56 +05:00
Andrey Borodin b2d75b0b3c
Coverity scan results (#119)
A lot of small fixes for small bugs of various severity
2020-02-18 18:05:02 +05:00
Andrey e773dbb260 Add application_name_add_host setting 2020-01-20 11:43:16 +05:00
Andrey Borodin 887e4aa2d8 Decline GSS API request 2019-12-27 17:05:19 +05:00
Andrey Borodin 0605a81816 Silent compiler warnings in kiwi 2019-11-21 11:13:10 +05:00
Andrey Borodin 816d45958e Revert "Add pause/resume admin console commands (#66)"
This reverts commit b426f4f301.
2019-11-19 16:57:16 +05:00
Andrey Borodin 960cba4bc9 Silent more compiler warnings 2019-11-19 15:14:51 +05:00
Dima Starkov a8ca664a63 Implements SCRAM Authentication (#73) 2019-11-11 12:28:50 +03:00
Dmitry Simonenko 76b64c7401 odyssey: minor fixes 2019-09-28 17:42:29 +03:00
Andrey Borodin 8c6439ce4c Make UBSan happy 2019-07-23 18:06:46 +05:00
Dmitry Simonenko a3f55f4f21 odyssey: rework packet header validation 2019-06-03 13:12:50 +03:00
Andrey Borodin 8abed18d69 Minimal message validation
Prevent improperly formatted message from breaking into serious disaster
for running process.
2019-04-29 17:14:45 +05:00
Dmitry Simonenko 9cd12c9d4c odyssey: minor fixes and refactoring 2019-04-13 13:26:47 +03:00
Andrey Borodin c4e2cedc35 Support of replication protocol 2019-04-12 15:13:50 +05:00
Dmitry Simonenko 6c0a1f09f8 odyssey: major rework of io architecture
This patch intend is to improve overall io performance, reduce
cpu and system usage.

Machinarium:

IO read/write logic is highly simplified and now based on conditions
instead of previously made internal readahead buffer and msg
queues. This allows to give user more control over io operations and
avoid doing undesired readahead copying.

Above that, TLS implementation reworked to use async logic instead of
separate BIO layer.

Direct pooling functions removed.

New objects machine_cond_t and machine_iov_t objects.

Odyssey:

Introduced readahead, io and relay objects.

Relay allows to connect two io handles for direct data retransmission
without double copying.

Removed configuration options no longer needed:
packet_read_size, packet_write_queue
2019-01-23 18:43:52 +03:00
Dmitry Simonenko 9e0152417f odyssey: rework and optimize parameters setting logic 2018-12-13 14:18:20 +03:00
Dmitry Simonenko 9d6dea5d92 odyssey: major parameter settings optimization 2018-12-12 16:07:25 +03:00
Dmitry Simonenko fbc037aa23 odyssey: implement packet retransmission in chunks; packet_read_size 2018-10-23 16:51:30 +03:00
Dmitry Simonenko cd076462eb odyssey: implement and use shared parameters state 2018-09-25 18:40:50 +03:00
Dmitry Simonenko 5895b8d170 odyssey: rework client parameters setup logic 2018-09-13 17:43:39 +03:00
Dmitry Simonenko b8d65d7225 odissey: warning fixes 2018-08-31 16:18:59 +03:00
Dmitry Simonenko f3b755a748 kiwi: fix message size in kiwi_be_write_error_as() 2018-08-29 16:23:28 +03:00
Dmitry Simonenko 5e7007d151 kiwi: use machine_msg_t* for read functions 2018-08-27 15:28:52 +03:00
Dmitry Simonenko 87abaa2f79 kiwi: add kiwi_read_startup_size() 2018-08-27 14:57:13 +03:00
Dmitry Simonenko f09ab98d9e kiwi: add kiwi_read_size() 2018-08-23 17:10:18 +03:00
Dmitry Simonenko f973a20397 kiwi: add README.md 2018-08-23 16:21:39 +03:00
Dmitry Simonenko 7ac8dc0b10 kiwi: import implementation 2018-08-23 16:17:15 +03:00
Dmitry Simonenko 02662c95ed kiwi: introduce 2018-08-23 13:09:03 +03:00