mirror of
https://github.com/cesanta/mongoose.git
synced 2026-12-04 21:58:22 +00:00
Increate SNTP timeout 3s->5s. Change mg_sntp_send() to mg_sntp_request(), remove one unnecessary parameter
This commit is contained in:
1 parent
6db1d7925e
commit
f5fd176b35
10 files changed
+17
-21
No files matched your search
+1
-1
@@ -1162,7 +1162,7 @@ size_t mg_ws_wrap(struct mg_connection *, size_t len, int op);
|
||||
|
||||
struct mg_connection *mg_sntp_connect(struct mg_mgr *mgr, const char *url,
|
||||
mg_event_handler_t fn, void *fn_data);
|
||||
void mg_sntp_send(struct mg_connection *c, unsigned long utc);
|
||||
void mg_sntp_request(struct mg_connection *c);
|
||||
int64_t mg_sntp_parse(const unsigned char *buf, size_t len);
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user