Skip to content

Allow to set table as net_box_uri #342

@ImeevMA

Description

@ImeevMA

Currently, the net_box_uri argument only accepts a string. However, it is legal to use a table to set up a listen, if the table can be parsed using require('uri').parse(). Allowing table as net_box_uri makes it easier to use params, such as SSL params.

Fixing this issue will avoid converting the URI from table to string on the user side, and the URI can be passed directly to net_box_uri. In particular, this makes it easier to create a server using the config module after submitting a PR tarantool/tarantool#9385.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions