asyncproxy 1.1__tar.gz → 1.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: asyncproxy
3
- Version: 1.1
3
+ Version: 1.2
4
4
  Summary: Background TCP proxy for async IO
5
5
  Home-page: https://github.com/sippy/libasyncproxy.git
6
6
  Author: Maksym Sobolyev
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: asyncproxy
3
- Version: 1.1
3
+ Version: 1.2
4
4
  Summary: Background TCP proxy for async IO
5
5
  Home-page: https://github.com/sippy/libasyncproxy.git
6
6
  Author: Maksym Sobolyev
@@ -56,7 +56,7 @@ with open("README.md", "r") as fh:
56
56
  long_description = fh.read()
57
57
 
58
58
  kwargs = {'name':'asyncproxy',
59
- 'version':'1.1',
59
+ 'version':'1.2',
60
60
  'description':'Background TCP proxy for async IO',
61
61
  'long_description': long_description,
62
62
  'long_description_content_type': "text/markdown",
@@ -266,7 +266,7 @@ asyncproxy_run(void *args)
266
266
  }
267
267
  assert((pfds[i].revents & POLLNVAL) == 0);
268
268
  }
269
- if (pfds[i].revents & POLLHUP) {
269
+ if (pfds[i].revents & (POLLHUP | POLLERR)) {
270
270
  if (ap->debug > 1) {
271
271
  fprintf(stderr, "asyncproxy_run(%p): fd %d is gone, out\n", (void *)ap, pfds[i].fd);
272
272
  fflush(stderr);
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes