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

Can't put too long content in HTTP request header #245

Open
cyyeh opened this issue Jul 21, 2023 · 0 comments
Open

Can't put too long content in HTTP request header #245

cyyeh opened this issue Jul 21, 2023 · 0 comments
Labels
needs-triage type/bug Something went wrong

Comments

@cyyeh
Copy link
Member

cyyeh commented Jul 21, 2023

Environment

  • Version:

    cli version: 0.6.0
    core version: 0.6.0
    build version: 0.6.0
    serve version: 0.6.0
    
  • OS: macOS with M1

What's wrong?

Since I need to pass vector embeddings inside VulcanSQL api request; however, the content is too long in the HTTP request header. The default length is 8192.

What's the correct behavior?

Users can customize some HTTP API settings parameters?

Reproducing steps

You can check https://github.com/Canner/vulcan-sql-examples/tree/main/customer-support-on-twitter.
At the moment, I directly add the maxHeaderSize in the http.createServer and https.createServer functions.
https://github.com/Canner/vulcan-sql-examples/blob/main/customer-support-on-twitter/packages/serve/src/lib/server.js#L99 and https://github.com/Canner/vulcan-sql-examples/blob/main/customer-support-on-twitter/packages/serve/src/lib/server.js#L124.

@cyyeh cyyeh added type/bug Something went wrong needs-triage labels Jul 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-triage type/bug Something went wrong
Projects
None yet
Development

No branches or pull requests

1 participant