ithewei / ithewei/libhv

Some issues about the function main_ctx_init

Open
#549 3 comments 1 reaction 2 assignees Claimed by @ithewei View on GitHub
Dominant language
C
Stars
7.6k
Forks
1.4k
Avg merge
1d 21h
Merged PRs (30d)
9

Description

1. The length of the macro MAX_PATH is only 260, isn't it really too small?
2. The logdir directly reads the running directory, then creates and uses the directory logs in this directory. Even if the directory was modified later, an empty directory has already been created here.
3. The configuration file directory should have a rollback: first try the current directory (not the current directory/etc), then try the directory /usr/local/etc if it does not exist, and finally try the directory /etc.

The main issue is that the directory will be automatically created before customizing the path.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.