aio-libs / aio-libs/aiohttp

Can't detect disconnection on wifi websocket client

オープン
#2,368 コメント 6 件 リアクション 1 件 担当者 0 名 GitHub で見る
bug
主要言語
Python
スター
16.5k
フォーク
2.4k
平均マージ
17時間 22分
マージ済み PR(30日)
212

説明

## Long story short
I use several esp8266 (a wifi IOT) as websocket client with aiohttp 2.3.1 websocket server .
Works perfectly but i can't detect disconnection.

## Expected behaviour
I want to detect disconnection when an esp8266 disappear.

## Actual behaviour
I detect connections and play with all clients ESP8266. The method detecst all disconnections at heartbeat delay but do nothing.
I there any solution?

## Steps to reproduce
A background loop to send a ping to all client esp8266.
WebSocketResponse instance with heartbeat param set.

## Your environment
Debian machine + Python 3.5 + aiohttp v 2.3.1

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。