cloudflare / cloudflare/pingora

Run forever supports not exit progam

Open
#154 3 comments 3 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
27.4k
Forks
1.7k
Avg merge
6h 22m
Merged PRs (30d)
3

Description

## What is the problem your feature solves, or the need it fulfills?

I use `pingora` as a lib for my reverse proxy , but `run_forever` function will call `std::process::exit(0);`. I expect close the http server only, but not exit the program,.

## Describe the solution you'd like

Support parameter to set not exit the program for `run_forever` function.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.