New upstream release.
Debian Janitor
2 years ago
|
0 |
Release 4.4.15
|
|
1 |
-------------------
|
|
2 |
|
|
3 |
This is a maintenance release that corrects a number of defects discovered since release 4.4.14.
|
|
4 |
|
|
5 |
Changelog
|
|
6 |
-------------------
|
|
7 |
|
|
8 |
* HTTPCORE-695: Unhandled CancelledKeyException during processPendingInterestOps leads to
|
|
9 |
a shutdown of the underlying IOReactor.
|
|
10 |
Contributed by Kurtcebe Eroglu <kurtcebe.eroglu at gmail.com>
|
|
11 |
|
|
12 |
* HTTPCORE-687: Non-blocking SSL I/O session can enter a tight loop if the SSL session gets
|
|
13 |
closed by the protocol layer while there is still unprocessed data stuck in the protocol session
|
|
14 |
buffer.
|
|
15 |
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
16 |
|
|
17 |
* HTTPCORE-660: Convert RuntimeExceptions thrown by SSLSetupHandler#verify to SSLExceptions.
|
|
18 |
Contributed by Oleg Kalnichevski <olegk at apache.org>
|
|
19 |
|
|
20 |
|
|
21 |
|
0 | 22 |
Release 4.4.14
|
1 | 23 |
-------------------
|
2 | 24 |
|
|
0 |
httpcomponents-core (4.4.15-1) UNRELEASED; urgency=low
|
|
1 |
|
|
2 |
* New upstream release.
|
|
3 |
|
|
4 |
-- Debian Janitor <janitor@jelmer.uk> Sat, 19 Mar 2022 03:51:52 -0000
|
|
5 |
|
0 | 6 |
httpcomponents-core (4.4.14-2) unstable; urgency=medium
|
1 | 7 |
|
2 | 8 |
* Track only the 4.x releases
|
27 | 27 |
<parent>
|
28 | 28 |
<groupId>org.apache.httpcomponents</groupId>
|
29 | 29 |
<artifactId>httpcomponents-core</artifactId>
|
30 | |
<version>4.4.14</version>
|
|
30 |
<version>4.4.15</version>
|
31 | 31 |
</parent>
|
32 | 32 |
<artifactId>httpcore</artifactId>
|
33 | 33 |
<name>Apache HttpCore</name>
|
155 | 155 |
int SC_LOCKED = 423;
|
156 | 156 |
/** {@code 424 Failed Dependency} (WebDAV - RFC 2518) */
|
157 | 157 |
int SC_FAILED_DEPENDENCY = 424;
|
|
158 |
/** {@code 429 Too Many Requests} (Additional HTTP Status Codes - RFC 6585) */
|
|
159 |
int SC_TOO_MANY_REQUESTS = 429;
|
158 | 160 |
|
159 | 161 |
// --- 5xx Server Error ---
|
160 | 162 |
|
315 | 315 |
try {
|
316 | 316 |
this.inBuffer.clear();
|
317 | 317 |
this.outbuffer.flush();
|
318 | |
try {
|
319 | |
try {
|
320 | |
socket.shutdownOutput();
|
321 | |
} catch (final IOException ignore) {
|
322 | |
}
|
323 | |
try {
|
324 | |
socket.shutdownInput();
|
325 | |
} catch (final IOException ignore) {
|
326 | |
}
|
327 | |
} catch (final UnsupportedOperationException ignore) {
|
328 | |
// if one isn't supported, the other one isn't either
|
329 | |
}
|
330 | 318 |
} finally {
|
331 | 319 |
socket.close();
|
332 | 320 |
}
|
92 | 92 |
new String[3], // 1xx
|
93 | 93 |
new String[8], // 2xx
|
94 | 94 |
new String[8], // 3xx
|
95 | |
new String[25], // 4xx
|
|
95 |
new String[30], // 4xx
|
96 | 96 |
new String[8] // 5xx
|
97 | 97 |
};
|
98 | 98 |
|
|
139 | 139 |
"Forbidden");
|
140 | 140 |
setReason(HttpStatus.SC_NOT_FOUND,
|
141 | 141 |
"Not Found");
|
|
142 |
setReason(HttpStatus.SC_TOO_MANY_REQUESTS,
|
|
143 |
"Too Many Requests");
|
142 | 144 |
setReason(HttpStatus.SC_INTERNAL_SERVER_ERROR,
|
143 | 145 |
"Internal Server Error");
|
144 | 146 |
setReason(HttpStatus.SC_NOT_IMPLEMENTED,
|
127 | 127 |
|
128 | 128 |
Mockito.verify(outStream, Mockito.times(1)).write(
|
129 | 129 |
Matchers.<byte []>any(), Matchers.anyInt(), Matchers.anyInt());
|
130 | |
Mockito.verify(socket, Mockito.times(1)).shutdownInput();
|
131 | |
Mockito.verify(socket, Mockito.times(1)).shutdownOutput();
|
132 | 130 |
Mockito.verify(socket, Mockito.times(1)).close();
|
133 | 131 |
|
134 | 132 |
conn.close();
|
27 | 27 |
<parent>
|
28 | 28 |
<groupId>org.apache.httpcomponents</groupId>
|
29 | 29 |
<artifactId>httpcomponents-core</artifactId>
|
30 | |
<version>4.4.14</version>
|
|
30 |
<version>4.4.15</version>
|
31 | 31 |
</parent>
|
32 | 32 |
<artifactId>httpcore-ab</artifactId>
|
33 | 33 |
<name>Apache HttpCore Benchmarking Tool</name>
|
27 | 27 |
<parent>
|
28 | 28 |
<groupId>org.apache.httpcomponents</groupId>
|
29 | 29 |
<artifactId>httpcomponents-core</artifactId>
|
30 | |
<version>4.4.14</version>
|
|
30 |
<version>4.4.15</version>
|
31 | 31 |
</parent>
|
32 | 32 |
<artifactId>httpcore-nio</artifactId>
|
33 | 33 |
<name>Apache HttpCore NIO</name>
|
508 | 508 |
return;
|
509 | 509 |
}
|
510 | 510 |
this.status = CLOSING;
|
|
511 |
this.inbuf.clear();
|
|
512 |
this.hasBufferedInput = false;
|
511 | 513 |
if (this.outbuf.hasData()) {
|
512 | 514 |
this.session.setEvent(EventMask.WRITE);
|
513 | 515 |
} else {
|
464 | 464 |
final SelectionKey key = entry.getSelectionKey();
|
465 | 465 |
final int eventMask = entry.getEventMask();
|
466 | 466 |
if (key.isValid()) {
|
467 | |
key.interestOps(eventMask);
|
|
467 |
try {
|
|
468 |
key.interestOps(eventMask);
|
|
469 |
} catch (final CancelledKeyException ex) {
|
|
470 |
// ignore and move on
|
|
471 |
}
|
468 | 472 |
}
|
469 | 473 |
}
|
470 | 474 |
}
|
367 | 367 |
// It is never generated by SSLEngine.getHandshakeStatus().
|
368 | 368 |
if (result != null && result.getHandshakeStatus() == HandshakeStatus.FINISHED) {
|
369 | 369 |
if (this.handler != null) {
|
370 | |
this.handler.verify(this.session, this.sslEngine.getSession());
|
|
370 |
try {
|
|
371 |
this.handler.verify(this.session, this.sslEngine.getSession());
|
|
372 |
} catch (final RuntimeException ex) {
|
|
373 |
// Some libraries can throw a plan RuntimeException from #verify method
|
|
374 |
// in case of a hostname verification failure in violation of the API contract
|
|
375 |
throw convert(ex);
|
|
376 |
}
|
371 | 377 |
}
|
372 | 378 |
}
|
373 | 379 |
}
|
27 | 27 |
<parent>
|
28 | 28 |
<groupId>org.apache.httpcomponents</groupId>
|
29 | 29 |
<artifactId>httpcomponents-core</artifactId>
|
30 | |
<version>4.4.14</version>
|
|
30 |
<version>4.4.15</version>
|
31 | 31 |
</parent>
|
32 | 32 |
<artifactId>httpcore-osgi</artifactId>
|
33 | 33 |
<name>Apache HttpCore OSGi bundle</name>
|
32 | 32 |
<modelVersion>4.0.0</modelVersion>
|
33 | 33 |
<artifactId>httpcomponents-core</artifactId>
|
34 | 34 |
<name>Apache HttpComponents Core</name>
|
35 | |
<version>4.4.14</version>
|
|
35 |
<version>4.4.15</version>
|
36 | 36 |
<description>Apache HttpComponents Core is a library of components for building HTTP enabled services</description>
|
37 | 37 |
<url>http://hc.apache.org/httpcomponents-core-ga</url>
|
38 | 38 |
<inceptionYear>2005</inceptionYear>
|
|
60 | 60 |
<connection>scm:git:https://git-wip-us.apache.org/repos/asf/httpcomponents-core.git</connection>
|
61 | 61 |
<developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/httpcomponents-core.git</developerConnection>
|
62 | 62 |
<url>https://github.com/apache/httpcomponents-core/tree/${project.scm.tag}</url>
|
63 | |
<tag>4.4.14</tag>
|
|
63 |
<tag>4.4.15</tag>
|
64 | 64 |
</scm>
|
65 | 65 |
|
66 | 66 |
<modules>
|