Skip to content

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

Open
@cyyeh

Description

@cyyeh

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions