QMux TCP shutdown can withhold FIN after a macOS peer half-close
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- linux, macos, rust
- Área
- networking
Línea de trabajo
Start with rs/qmux/src/socket.rs at TcpStats::shutdown and the driver shutdown call in rs/qmux/src/driver.rs. Reproduce the retained stats handle and peer half-close on macOS, then check that Linux still uses two-way shutdown and admits bytes into TCP_INFO during linger. Done means the macOS peer receives EOF with the duplicate handle retained while Linux behavior is preserved.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
A macOS TCP loopback probe reproduced a shutdown failure after the peer sent FIN. With a duplicated server descriptor open, shutdown(SHUT_RDWR) failed and the peer was still waiting for EOF. shutdown(SHUT_WR) delivered EOF while the duplicate remained open.
QMux calls TcpStats::shutdown when its driver ends. It drops its own reference, and callers can retain a copy of the stats handle. On macOS that copy can keep the peer waiting if two-way shutdown failed. Shutdown · Driver
Exercise a peer half-close with a retained stats handle on macOS. Preserve Linux two-way shutdown: a separate loopback probe showed that write-only shutdown admitted bytes into TCP_INFO during linger.
(Written by GPT-6.2 Sol with xhigh)
- Lenguaje dominante
- Rust
- Estrellas
- 1.6k
- Forks
- 251
- Merge medio
- 10 h 10 min
- PR fusionados (30 d)
- 822
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de moq-dev/moq
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
moq-dev/moq#10463 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
moq-dev/moq#10460 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
quest
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
moq-dev/moq#10373 · 2 comentarios · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
quest
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
moq-dev/moq#10336 · 2 comentarios · 1 reacción ·
Los mantenedores suelen responder en 1 día
Todos los issues de moq-dev/moq
Issues similares
-
Test connection's password prompt says the password is never saved, also for a keychain profileAbiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
area: settings bug Haiku review: no-score ui
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
MMFoundation/WallpaperMachine#346 ·
Los mantenedores suelen responder en 1 día
-
Make the HTTP server's keep-alive and headers timeouts configurablePosiblemente ocupada @mattgodbolt la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
compiler-explorer/compiler-explorer#9902 ·
Los mantenedores suelen responder en 1 día
-
documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
jonathanong/no-mistakes#5490 ·
-
follow-up
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día