Fix segfault in vitastor-cli serve without TLS #85

Merged
vitalif merged 1 commits from epicstyt/vitastor:fix-serve-plain-http-segfault into master 2026-09-02 19:43:20 +03:00

1 Commits

Author SHA1 Message Date
102bc96bad fix(cli): create an http context when serving plain HTTP
http_ctx was assigned only in the TLS branch, so on plain HTTP it stayed
NULL and http_init() segfaulted on the first accepted connection.

Signed-off-by: Stepan Rabotkin <epicstyt@gmail.com>
2026-09-02 15:08:13 +03:00