-
Notifications
You must be signed in to change notification settings - Fork 53
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
tests for jwt expiration #189
base: master
Are you sure you want to change the base?
Conversation
Codecov Report
@@ Coverage Diff @@
## master #189 +/- ##
==========================================
+ Coverage 88.27% 88.42% +0.15%
==========================================
Files 41 41
Lines 4426 4518 +92
Branches 358 361 +3
==========================================
+ Hits 3907 3995 +88
- Misses 188 189 +1
- Partials 331 334 +3
Continue to review full report at Codecov.
|
src/connection.c
Outdated
@@ -35,6 +35,8 @@ | |||
|
|||
#define HTTP_CUSTOM_HEADER_COUNT 5 | |||
#define INITIAL_CJWT_RETRY -2 | |||
#define Parodus_Print printf |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be removed.
src/connection.c
Outdated
@@ -192,12 +194,12 @@ int createNopollConnection(noPollCtx *ctx) | |||
} | |||
if(allow_insecure <= 0) | |||
{ | |||
ParodusPrint("secure true\n"); | |||
Parodus_Print("secure true\n"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change should be reverted.
src/connection.c
Outdated
connection = nopoll_tls_common_conn(ctx,server_Address, port, extra_headers,&fallback); | ||
} | ||
else | ||
{ | ||
ParodusPrint("secure false\n"); | ||
Parodus_Print("secure false\n"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change should be reverted.
handle jwt expiration
and tests.