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

CVS-154698, Implement windows specific status codes #2873

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

18582088138
Copy link
Collaborator

🛠 Summary

Jira ticket : 1 Write windows specific status codes.

Implement windows/linux specific status codes alignment.
Using Winsocket to clean destructor in windows.

🧪 Checklist

  • Unit tests added.
  • The documentation updated.
  • Change follows security best practices.
    ``

src/server.cpp Outdated

#ifdef _WIN32
WSADATA wsaData;
if (WSAStartup(MAKEWORD(2, 2), &wsaData) != 0) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think its not neded here. GRPCServerModule::isPortAvailable.

}
SPDLOG_INFO("Shutting down");

#ifdef _WIN32
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not needed.

src/server.cpp Outdated
@@ -32,6 +32,7 @@
#include <stdlib.h>

// TODO: Write windows/linux specific status codes.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this comment // TODO:

Copy link
Collaborator

@rasapala rasapala left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some ocmments.

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

Successfully merging this pull request may close these issues.

3 participants