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

DeclareHTTPPortFlag() function under the rest package #437

Closed
finality36 opened this issue May 30, 2022 · 1 comment
Closed

DeclareHTTPPortFlag() function under the rest package #437

finality36 opened this issue May 30, 2022 · 1 comment

Comments

@finality36
Copy link

When I use the DeclareHTTPPortFlag() function under the rest package to declare a flag of an http port, the defaultPort I pass in is directly converted with String(), resulting in the converted defaultPort being unavailable and the port being converted into a keyboard icon. The problem lies in the DeclareHTTPPortFlag() function , variables of type uint are converted directly using String() instead of strconv.Itoa().

FATA[0000] listen tcp: lookup tcp/⌨: Servname not supported for ai_socktype logger=defaultLogger

@finality36
Copy link
Author

Sorry, I just saw the latest version of the code has fixed this problem, it may be that my local code version is too low.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant