Codebase list jboss-xnio / 6f2f51f
New upstream version 3.7.2 Markus Koschany 4 years ago
7 changed file(s) with 21 addition(s) and 16 deletion(s). Raw diff Collapse all Expand all
3636 <parent>
3737 <groupId>org.jboss.xnio</groupId>
3838 <artifactId>xnio-all</artifactId>
39 <version>3.7.0.Final</version>
39 <version>3.7.2.Final</version>
4040 </parent>
4141
4242 <dependencies>
174174 </includes>
175175 <enableAssertions>true</enableAssertions>
176176 <redirectTestOutputToFile>true</redirectTestOutputToFile>
177 <argLine>-Djdk.attach.allowAttachSelf</argLine>
177178 </configuration>
178179 </plugin>
179180 <plugin>
185186 <footer><![CDATA[XNIO API ]]>${project.version}</footer>
186187 <bottom><![CDATA[<i>Copyright &#169; 2017 JBoss, a division of Red Hat, Inc.</i>]]></bottom>
187188 <links>
188 <link>http://java.sun.com/javase/8/docs/api/</link>
189 <link>https://docs.oracle.com/javase/8/docs/api/</link>
189190 </links>
190191 </configuration>
191192 </plugin>
3535 * @param executor the executor to use to execute listener notifiers.
3636 */
3737 public FutureResult(final Executor executor) {
38 ioFuture = new AbstractIoFuture<T>() {
39 protected Executor getNotifierExecutor() {
40 return executor;
41 }
42 };
38 ioFuture = new AbstractIoFuture<T>(){};
4339 }
4440
4541 /**
468468 // given caller is reading, tell it to continue only if we can move away from NEED_WRAP
469469 // and flush any wrapped data we may have left
470470 if (doFlush()) {
471 if (result.getStatus() == SSLEngineResult.Status.CLOSED) {
472 closeOutbound();
473 return false;
474 }
471475 if (!handleWrapResult(result = engineWrap(Buffers.EMPTY_BYTE_BUFFER, buffer), true) || !doFlush()) {
472476 needWrap();
473477 return false;
3030 <parent>
3131 <groupId>org.jboss.xnio</groupId>
3232 <artifactId>xnio-all</artifactId>
33 <version>3.7.0.Final</version>
33 <version>3.7.2.Final</version>
3434 </parent>
3535
3636 <properties>
2626 import java.net.ServerSocket;
2727 import java.net.Socket;
2828 import java.net.SocketAddress;
29 import java.nio.channels.ClosedChannelException;
2930 import java.nio.channels.SelectionKey;
3031 import java.nio.channels.ServerSocketChannel;
3132 import java.nio.channels.SocketChannel;
479480 IoUtils.safeClose(accepted);
480481 return;
481482 }
483 } catch (ClosedChannelException e) {
484 tcpServerLog.logf(FQCN, Logger.Level.DEBUG, e, "ClosedChannelException occurred at accepting request on the server channel %s", channel);
485 return;
482486 } catch (IOException e) {
483 tcpServerLog.logf(FQCN, Logger.Level.DEBUG, e, "Exception accepting request, closing server channel %s", this);
487 tcpServerLog.logf(FQCN, Logger.Level.ERROR, e, "Exception accepting request, closing server channel %s", this);
484488 IoUtils.safeClose(channel);
485489 return;
486490 }
333333 }
334334 }
335335 } catch (IOException e) {
336 selectorLog.tracef("ConnectHandle.handleReady Exception, " + e);
336 selectorLog.tracef("ConnectHandle.handleReady Exception, %s", e);
337337 futureResult.setException(e);
338338 } finally {
339339 if (!ok) {
620620 }
621621 synchronized (workLock) {
622622 selectorWorkQueue.add(command);
623 log.tracef("Added task " + command);
623 log.tracef("Added task %s", command);
624624 }
625625 if (polling) { // flag is always false if we're the same thread
626626 selector.wakeup();
3131 <artifactId>xnio-all</artifactId>
3232 <packaging>pom</packaging>
3333 <name>XNIO Parent POM</name>
34 <version>3.7.0.Final</version>
34 <version>3.7.2.Final</version>
3535 <description>The aggregator POM of the XNIO project</description>
3636
3737 <licenses>
4848 </modules>
4949
5050 <properties>
51 <byteman-version>3.0.3</byteman-version>
52 <version.org.jboss.logging.jboss-logging>3.3.1.Final</version.org.jboss.logging.jboss-logging>
53 <version.org.jboss.logging.jboss-logging-tools>2.1.0.Final</version.org.jboss.logging.jboss-logging-tools>
54 <version.org.jboss.logmanager.jboss-logmanager>2.0.7.Final</version.org.jboss.logmanager.jboss-logmanager>
51 <byteman-version>4.0.6</byteman-version>
52 <version.org.jboss.logging.jboss-logging>3.4.0.Final</version.org.jboss.logging.jboss-logging>
53 <version.org.jboss.logging.jboss-logging-tools>2.2.0.Final</version.org.jboss.logging.jboss-logging-tools>
54 <version.org.jboss.logmanager.jboss-logmanager>2.1.10.Final</version.org.jboss.logmanager.jboss-logmanager>
5555 <version.org.jboss.threads>2.3.0.Beta2</version.org.jboss.threads>
5656 <version.org.wildfly.common>1.3.0.Final</version.org.wildfly.common>
5757 <version.org.wildfly.client-config>1.0.0.Final</version.org.wildfly.client-config>