| ▲ | RyanZhuuuu 11 hours ago | |
yes we have reported to Apple and they have filed it in their internal system. | ||
| ▲ | otterley 10 hours ago | parent | next [-] | |
Did you need to make this blog post 20 pages long and have AI write it? Especially in such dramatic style? Remember the golden rule: if you can't be bothered to write it yourself, why should your audience be bothered to read it ourselves? | ||
| ▲ | Aloisius 6 hours ago | parent | prev [-] | |
Might want to update it if you used the blog post explanation because it's incorrect as justinfrankel noted below. From the post:
The mistake in the blog post is timer isn't wrapped, even though it notes it should be:
Therefore:
This is a bug of course, but it would cause sockets in TCP_WAIT state to be reaped anytime tcp_gc() is called, regardless of whether 2*MSL has passed or not. This only happens though if tcp_now gets stuck after 4,294,937,296 ms from boot.A bug similar to what the blog described can happen however if tcp_now gets stuck at least 30 seconds before it it would have wrapped. Since tcp_now is only updated if there is TCP traffic, this can happen if there is no TCP traffic for at least 30 seconds before before it would roll over (MAX_INT ms from boot). It's should be easy to prevent the latter from happening with some TCP traffic, though reaping TCP_WAIT connections early isn't great either. | ||