Message10928
| Author | zyasoft |
|---|---|
| Recipients | amak, jeff.allen, zyasoft |
| Date | 2016年09月02日.20:24:46 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1472847887.88.0.815345392988.issue2517@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
The relevant Netty change is https://github.com/netty/netty/issues/2166, which happened in 4.0.16; but most likely 4.1 made this more prominent. My recollection is that I don't believe it's possible to have Python socket closing semantics without attempting to close the pool as soon as possible - as it is, we wait up to 100ms. See the _realsocket._finish_closing method in Lib/socket.py for more on what is being done to close the socket. Therefore we need to take advantage of the rejected logger, which is under the name io.netty.util.concurrent.DefaultPromise.rejectedExecution; see https://github.com/netty/netty/commit/2ba00cd358de2f4fbfef12b0be63605d49826f1a Assuming SL4J + Logback is still being used, this advice on StackOverflow should be relevant: http://stackoverflow.com/a/11852808/423006. In particular we can put a suitably configured logback.xml in jython.jar or jython-dev.jar to remove this logging: http://logback.qos.ch/manual/configuration.html#auto_configuration |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2016年09月02日 20:24:47 | zyasoft | set | messageid: <1472847887.88.0.815345392988.issue2517@psf.upfronthosting.co.za> |
| 2016年09月02日 20:24:47 | zyasoft | set | recipients: + zyasoft, amak, jeff.allen |
| 2016年09月02日 20:24:47 | zyasoft | link | issue2517 messages |
| 2016年09月02日 20:24:46 | zyasoft | create | |
Supported by Python Software Foundation,
Powered by Roundup