mirror of
https://github.com/cesanta/mongoose.git
synced 2025-08-06 13:37:34 +08:00
More SNtp debug 4
This commit is contained in:
parent
be8b01e289
commit
b9d1d4a94f
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@ -11,7 +11,7 @@ jobs:
|
||||
sudo tcpdump -nn -i any port 123 or port 53 -w sntp.cap &
|
||||
sleep 1
|
||||
- name: test
|
||||
run: make clean test IPV6=0 SSL= OPTS= V=4
|
||||
run: make clean test IPV6=0 SSL= OPTS= V=4 TFLAGS=-DMG_ENABLE_POLL=1
|
||||
- name: Upload capture
|
||||
if: always()
|
||||
run: |
|
||||
|
@ -4413,6 +4413,7 @@ static void mg_iotest(struct mg_mgr *mgr, int ms) {
|
||||
}
|
||||
}
|
||||
|
||||
MG_DEBUG(("n=%d ms=%d", n, ms));
|
||||
if (poll(fds, n, ms) < 0) {
|
||||
MG_ERROR(("poll failed, errno: %d", MG_SOCK_ERRNO));
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user