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

feat: stream #649

Closed
wants to merge 14 commits into from
Closed

feat: stream #649

wants to merge 14 commits into from

Conversation

venjiang
Copy link
Contributor

Description

pipe stream

@vercel
Copy link

vercel bot commented Oct 12, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
yomo ⬜️ Ignored (Inspect) Visit Preview Oct 19, 2023 7:10am

@venjiang venjiang self-assigned this Oct 12, 2023
@venjiang venjiang added the feat/stream Feature: Stream label Oct 12, 2023
if err != nil {
return err
}
defer sourceStream.Close()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems that server should not close this stream

return
}
// connection
conn, err := s.NewConnection(qconn, fs, hf)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This error should be write back to client and let client know why it be closed.

return
}
// route
route, err := s.handleRoute(hf, conn.Metadata())
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This error is same as above.

@fanweixiao fanweixiao closed this Nov 1, 2023
@fanweixiao fanweixiao deleted the feat/stream branch December 23, 2024 03:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat/stream Feature: Stream
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants