Skip to content

BUG: version 10.0.0 reintroduces agentOptions, but does not pass it down correctly #824

@phal0r

Description

@phal0r

In createHost additional agentOptions can be passed to configure undici (

function createHost(arangojsHostUrl: string, agentOptions?: any): Host {
). Unfortunately in all calls, the agentOptions are not passed down to this function, so there is no way to actually configure undici.

References, where createHost is called:

As you can easily spot in the functions, that call createHost, they already lack the additional parameters. Took some time to get down to this as I want to allow self signed certs and couldn't figure out why it fails, although I passed the params in every possible way and combination.

Metadata

Metadata

Labels

BugA code defect that needs to be fixed.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions