You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: main.c
+15-1Lines changed: 15 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -276,10 +276,15 @@ callback(
276
276
ConnectionType_tconn_type
277
277
)
278
278
{
279
+
printf("Callback 0\n");
279
280
ConnectionStatus*cs;
281
+
printf("Callback 1\n");
280
282
cs= (ConnectionStatus*)ctx;
283
+
printf("Callback 2\n");
281
284
cs->res=res;
285
+
printf("Callback 3\n");
282
286
cs->conn_type=conn_type;
287
+
printf("Callback done\n");
283
288
}
284
289
285
290
int
@@ -461,17 +466,23 @@ run_client (
461
466
462
467
// gracefully close the endpoint. This will wait until all the connections have closed gracefully, ensure the server receives a `CONNECTION_CLOSE`, so it can also cleanly close.
0 commit comments