cloudflare / cloudflare/pingora

Support of SCGI protocol and connect upstream via unix domain socket file

Open
#171 4 comments 0 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

Hi, Pingora dev community,

My upstream supports only SCGI protocol.
I am building a reverse proxy, which will receive HTTP Post requests and translate HTTP to SCGI protocol.
Also, it will communicate upstream using the Unix domain socket file.
It will receive the response in SCGI protocol, convert it back to HTTP, and respond to the client.

I am not able to achieve this workflow. Could you please suggest whether it is supported in Pingora and how easy or hard it is to achieve this setup with a plugin customer code in Pingor's workflow execution?

If possible, please point me to some example code where we change the communication protocol for upstream.

Thanks.

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.