Bug 1672791 Comment 4 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

I did a experiment on my macbook and here is what I found.
1. The sleep and wake notifications [here](https://searchfox.org/mozilla-central/rev/96e2c6e14998f38e419850d55d8a3d32a3fc244a/netwerk/base/nsSocketTransportService2.cpp#1611-1621) are not received at all, which means the socket transport service is not aware of the sleep state.
2. I wrote a simple xhr html to test if the network request works in sleep mode and it seems that every 30 minutes the macos wakes up and works for a while and than goes to sleep again. I not not really sure about this. I'll do more tests to confirm.
3. I can't reproduce the `pseudo-hung` state for now. I'll keep trying and see if I can get the networking log.
I did an experiment on my macbook and here is what I found.
1. The sleep and wake notifications [here](https://searchfox.org/mozilla-central/rev/96e2c6e14998f38e419850d55d8a3d32a3fc244a/netwerk/base/nsSocketTransportService2.cpp#1611-1621) are not received at all, which means the socket transport service is not aware of the sleep state.
2. I wrote a simple xhr html to test if the network request works in sleep mode and it seems that every 30 minutes the macos wakes up and works for a while and than goes to sleep again. I am not really sure about this. I'll do more tests to confirm.
3. I can't reproduce the `pseudo-hung` state for now. I'll keep trying and see if I can get the networking log.

Back to Bug 1672791 Comment 4