Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multi receivers not Implemented #292

Open
bhzhu203 opened this issue Jul 30, 2022 · 1 comment
Open

multi receivers not Implemented #292

bhzhu203 opened this issue Jul 30, 2022 · 1 comment

Comments

@bhzhu203
Copy link

echo 'hello, world' | curl -T - http://xxx.xxx.top:9999/hello6?n=4
[INFO] Waiting for 1 receiver(s)...

It only shows having 1 receiver

@nwtgck
Copy link
Owner

nwtgck commented Jul 30, 2022

Multi receiver is implemented only in the original Piping Server for now. piping-server-rust >= v0.13.0 rejects n > 1 for feature detection. I have a plan to implement multi-receiver feature in the future.

Main reasons not to implement this for now are as follows.

  • difficult to maintain in Rust
    • Hyper, which is an HTTP library in Rust, seems to update its API aggressively. I'd like to focus on maintaining main features of Piping Server for now.
  • I guess few people use multi-receiver feature. I made several applications using Piping Server, but I haven't used multi-receiver feature in those.

Use the original Piping Server when you use full and new features. Use rich-piping-server to get richer features.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants