Skip to content

Commit c0f9364

Browse files
jingenenormanmaurer
authored andcommitted
Change the netty.io homepage scheme(http -> https) (netty#9344)
Motivation: Netty homepage(netty.io) serves both "http" and "https". It's recommended to use https than http. Modification: I changed from "http://netty.io" to "https://netty.io" Result: No effects.
1 parent bded2a1 commit c0f9364

File tree

21 files changed

+72
-68
lines changed

21 files changed

+72
-68
lines changed

.github/CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Please review the [guidelines for contributing](http://netty.io/wiki/developer-guide.html) for this repository.
1+
Please review the [guidelines for contributing](https://netty.io/wiki/developer-guide.html) for this repository.

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,5 @@ My system has IPv6 disabled.
4242

4343
## How to contribute your work
4444

45-
Before submitting a pull request or push a commit, please read [our developer guide](http://netty.io/wiki/developer-guide.html).
45+
Before submitting a pull request or push a commit, please read [our developer guide](https://netty.io/wiki/developer-guide.html).
4646

NOTICE.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
Please visit the Netty web site for more information:
66

7-
* http://netty.io/
7+
* https://netty.io/
88

99
Copyright 2014 The Netty Project
1010

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,20 @@ Netty is an asynchronous event-driven network application framework for rapid de
44

55
## Links
66

7-
* [Web Site](http://netty.io/)
8-
* [Downloads](http://netty.io/downloads.html)
9-
* [Documentation](http://netty.io/wiki/)
7+
* [Web Site](https://netty.io/)
8+
* [Downloads](https://netty.io/downloads.html)
9+
* [Documentation](https://netty.io/wiki/)
1010
* [@netty_project](https://twitter.com/netty_project)
1111

1212
## How to build
1313

14-
For the detailed information about building and developing Netty, please visit [the developer guide](http://netty.io/wiki/developer-guide.html). This page only gives very basic information.
14+
For the detailed information about building and developing Netty, please visit [the developer guide](https://netty.io/wiki/developer-guide.html). This page only gives very basic information.
1515

1616
You require the following to build Netty:
1717

1818
* Latest stable [Oracle JDK 7](http://www.oracle.com/technetwork/java/)
1919
* Latest stable [Apache Maven](http://maven.apache.org/)
20-
* If you are on Linux, you need [additional development packages](http://netty.io/wiki/native-transports.html) installed on your system, because you'll build the native transport.
20+
* If you are on Linux, you need [additional development packages](https://netty.io/wiki/native-transports.html) installed on your system, because you'll build the native transport.
2121

2222
Note that this is build-time requirement. JDK 5 (for 3.x) or 6 (for 4.0+) is enough to run your Netty-based application.
2323

bom/pom.xml

+4-4
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@
3030

3131
<name>Netty/BOM</name>
3232
<description>Netty (Bill of Materials)</description>
33-
<url>http://netty.io/</url>
33+
<url>https://netty.io/</url>
3434

3535
<organization>
3636
<name>The Netty Project</name>
37-
<url>http://netty.io/</url>
37+
<url>https://netty.io/</url>
3838
</organization>
3939

4040
<licenses>
@@ -57,9 +57,9 @@
5757
<id>netty.io</id>
5858
<name>The Netty Project Contributors</name>
5959
<email>[email protected]</email>
60-
<url>http://netty.io/</url>
60+
<url>https://netty.io/</url>
6161
<organization>The Netty Project</organization>
62-
<organizationUrl>http://netty.io/</organizationUrl>
62+
<organizationUrl>https://netty.io/</organizationUrl>
6363
</developer>
6464
</developers>
6565

codec-http/src/main/java/io/netty/handler/codec/http/QueryStringDecoder.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
*
5555
* <h3>HashDOS vulnerability fix</h3>
5656
*
57-
* As a workaround to the <a href="http://netty.io/s/hashdos">HashDOS</a> vulnerability, the decoder
57+
* As a workaround to the <a href="https://netty.io/s/hashdos">HashDOS</a> vulnerability, the decoder
5858
* limits the maximum number of decoded key-value parameter pairs, up to {@literal 1024} by
5959
* default, and you can configure it when you construct the decoder by passing an additional
6060
* integer parameter.

codec-http/src/main/java/io/netty/handler/codec/http/websocketx/WebSocketServerHandshaker13.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828

2929
/**
3030
* <p>
31-
* Performs server side opening and closing handshakes for <a href="http://netty.io/s/rfc6455">RFC 6455</a>
32-
* (originally web socket specification <a href="http://netty.io/s/ws-17">draft-ietf-hybi-thewebsocketprotocol-17</a>).
31+
* Performs server side opening and closing handshakes for <a href="https://netty.io/s/rfc6455">RFC 6455</a>
32+
* (originally web socket specification <a href="https://netty.io/s/ws-17">draft-ietf-hybi-thewebsocketprotocol-17</a>).
3333
* </p>
3434
*/
3535
public class WebSocketServerHandshaker13 extends WebSocketServerHandshaker {

codec-http/src/main/java/io/netty/handler/codec/http/websocketx/package-info.java

+5-5
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@
2121
* This package supports different web socket specification versions (hence the X suffix).
2222
* The specification current supported are:
2323
* <ul>
24-
* <li><a href="http://netty.io/s/ws-00">draft-ietf-hybi-thewebsocketprotocol-00</a></li>
25-
* <li><a href="http://netty.io/s/ws-07">draft-ietf-hybi-thewebsocketprotocol-07</a></li>
26-
* <li><a href="http://netty.io/s/ws-10">draft-ietf-hybi-thewebsocketprotocol-10</a></li>
27-
* <li><a href="http://netty.io/s/rfc6455">RFC 6455</a>
28-
* (originally <a href="http://netty.io/s/ws-17">draft-ietf-hybi-thewebsocketprotocol-17</a>)</li>
24+
* <li><a href="https://netty.io/s/ws-00">draft-ietf-hybi-thewebsocketprotocol-00</a></li>
25+
* <li><a href="https://netty.io/s/ws-07">draft-ietf-hybi-thewebsocketprotocol-07</a></li>
26+
* <li><a href="https://netty.io/s/ws-10">draft-ietf-hybi-thewebsocketprotocol-10</a></li>
27+
* <li><a href="https://netty.io/s/rfc6455">RFC 6455</a>
28+
* (originally <a href="https://netty.io/s/ws-17">draft-ietf-hybi-thewebsocketprotocol-17</a>)</li>
2929
3030
* </ul>
3131
* </p>

codec-http2/src/main/java/io/netty/handler/codec/http2/Http2FrameCodec.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@
136136
* reference counted objects (e.g. {@link ByteBuf}s). The frame codec will call {@link ReferenceCounted#retain()} before
137137
* propagating a reference counted object through the pipeline, and thus an application handler needs to release such
138138
* an object after having consumed it. For more information on reference counting take a look at
139-
* http://netty.io/wiki/reference-counted-objects.html
139+
* https://netty.io/wiki/reference-counted-objects.html
140140
*
141141
* <h3>HTTP Upgrade</h3>
142142
*

codec-http2/src/main/java/io/netty/handler/codec/http2/Http2MultiplexCodec.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
* reference counted objects (e.g. {@link ByteBuf}s). The multiplex codec will call {@link ReferenceCounted#retain()}
6262
* before propagating a reference counted object through the pipeline, and thus an application handler needs to release
6363
* such an object after having consumed it. For more information on reference counting take a look at
64-
* http://netty.io/wiki/reference-counted-objects.html
64+
* https://netty.io/wiki/reference-counted-objects.html
6565
*
6666
* <h3>Channel Events</h3>
6767
*

codec-http2/src/main/java/io/netty/handler/codec/http2/Http2MultiplexHandler.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
* reference counted objects (e.g. {@link ByteBuf}s). The multiplex codec will call {@link ReferenceCounted#retain()}
6565
* before propagating a reference counted object through the pipeline, and thus an application handler needs to release
6666
* such an object after having consumed it. For more information on reference counting take a look at
67-
* http://netty.io/wiki/reference-counted-objects.html
67+
* https://netty.io/wiki/reference-counted-objects.html
6868
*
6969
* <h3>Channel Events</h3>
7070
*

codec-xml/src/test/java/io/netty/handler/codec/xml/XmlDecoderTest.java

+11-11
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ public class XmlDecoderTest {
3737
"<!DOCTYPE employee SYSTEM \"employee.dtd\">" +
3838
"<?xml-stylesheet type=\"text/css\" href=\"netty.css\"?>" +
3939
"<?xml-test ?>" +
40-
"<employee xmlns:nettya=\"http://netty.io/netty/a\">" +
40+
"<employee xmlns:nettya=\"https://netty.io/netty/a\">" +
4141
"<nettya:id>&plusmn;1</nettya:id>\n" +
4242
"<name ";
4343

4444
private static final String XML2 = "type=\"given\">Alba</name><![CDATA[ <some data &gt;/> ]]>" +
45-
" <!-- namespaced --><nettyb:salary xmlns:nettyb=\"http://netty.io/netty/b\" nettyb:period=\"weekly\">" +
45+
" <!-- namespaced --><nettyb:salary xmlns:nettyb=\"https://netty.io/netty/b\" nettyb:period=\"weekly\">" +
4646
"100</nettyb:salary><last/></employee>";
4747

4848
private static final String XML3 = "<?xml version=\"1.1\" encoding=\"UTf-8\" standalone=\"yes\"?><netty></netty>";
@@ -99,13 +99,13 @@ public void shouldDecodeRequestWithSimpleXml() {
9999
assertThat(((XmlElementStart) temp).attributes().size(), is(0));
100100
assertThat(((XmlElementStart) temp).namespaces().size(), is(1));
101101
assertThat(((XmlElementStart) temp).namespaces().get(0).prefix(), is("nettya"));
102-
assertThat(((XmlElementStart) temp).namespaces().get(0).uri(), is("http://netty.io/netty/a"));
102+
assertThat(((XmlElementStart) temp).namespaces().get(0).uri(), is("https://netty.io/netty/a"));
103103

104104
temp = channel.readInbound();
105105
assertThat(temp, instanceOf(XmlElementStart.class));
106106
assertThat(((XmlElementStart) temp).name(), is("id"));
107107
assertThat(((XmlElementStart) temp).prefix(), is("nettya"));
108-
assertThat(((XmlElementStart) temp).namespace(), is("http://netty.io/netty/a"));
108+
assertThat(((XmlElementStart) temp).namespace(), is("https://netty.io/netty/a"));
109109
assertThat(((XmlElementStart) temp).attributes().size(), is(0));
110110
assertThat(((XmlElementStart) temp).namespaces().size(), is(0));
111111

@@ -122,7 +122,7 @@ public void shouldDecodeRequestWithSimpleXml() {
122122
assertThat(temp, instanceOf(XmlElementEnd.class));
123123
assertThat(((XmlElementEnd) temp).name(), is("id"));
124124
assertThat(((XmlElementEnd) temp).prefix(), is("nettya"));
125-
assertThat(((XmlElementEnd) temp).namespace(), is("http://netty.io/netty/a"));
125+
assertThat(((XmlElementEnd) temp).namespace(), is("https://netty.io/netty/a"));
126126

127127
temp = channel.readInbound();
128128
assertThat(temp, instanceOf(XmlCharacters.class));
@@ -171,15 +171,15 @@ public void shouldDecodeRequestWithSimpleXml() {
171171
assertThat(temp, instanceOf(XmlElementStart.class));
172172
assertThat(((XmlElementStart) temp).name(), is("salary"));
173173
assertThat(((XmlElementStart) temp).prefix(), is("nettyb"));
174-
assertThat(((XmlElementStart) temp).namespace(), is("http://netty.io/netty/b"));
174+
assertThat(((XmlElementStart) temp).namespace(), is("https://netty.io/netty/b"));
175175
assertThat(((XmlElementStart) temp).attributes().size(), is(1));
176176
assertThat(((XmlElementStart) temp).attributes().get(0).name(), is("period"));
177177
assertThat(((XmlElementStart) temp).attributes().get(0).value(), is("weekly"));
178178
assertThat(((XmlElementStart) temp).attributes().get(0).prefix(), is("nettyb"));
179-
assertThat(((XmlElementStart) temp).attributes().get(0).namespace(), is("http://netty.io/netty/b"));
179+
assertThat(((XmlElementStart) temp).attributes().get(0).namespace(), is("https://netty.io/netty/b"));
180180
assertThat(((XmlElementStart) temp).namespaces().size(), is(1));
181181
assertThat(((XmlElementStart) temp).namespaces().get(0).prefix(), is("nettyb"));
182-
assertThat(((XmlElementStart) temp).namespaces().get(0).uri(), is("http://netty.io/netty/b"));
182+
assertThat(((XmlElementStart) temp).namespaces().get(0).uri(), is("https://netty.io/netty/b"));
183183

184184
temp = channel.readInbound();
185185
assertThat(temp, instanceOf(XmlCharacters.class));
@@ -189,10 +189,10 @@ public void shouldDecodeRequestWithSimpleXml() {
189189
assertThat(temp, instanceOf(XmlElementEnd.class));
190190
assertThat(((XmlElementEnd) temp).name(), is("salary"));
191191
assertThat(((XmlElementEnd) temp).prefix(), is("nettyb"));
192-
assertThat(((XmlElementEnd) temp).namespace(), is("http://netty.io/netty/b"));
192+
assertThat(((XmlElementEnd) temp).namespace(), is("https://netty.io/netty/b"));
193193
assertThat(((XmlElementEnd) temp).namespaces().size(), is(1));
194194
assertThat(((XmlElementEnd) temp).namespaces().get(0).prefix(), is("nettyb"));
195-
assertThat(((XmlElementEnd) temp).namespaces().get(0).uri(), is("http://netty.io/netty/b"));
195+
assertThat(((XmlElementEnd) temp).namespaces().get(0).uri(), is("https://netty.io/netty/b"));
196196

197197
temp = channel.readInbound();
198198
assertThat(temp, instanceOf(XmlElementStart.class));
@@ -216,7 +216,7 @@ public void shouldDecodeRequestWithSimpleXml() {
216216
assertThat(((XmlElementEnd) temp).namespace(), is(""));
217217
assertThat(((XmlElementEnd) temp).namespaces().size(), is(1));
218218
assertThat(((XmlElementEnd) temp).namespaces().get(0).prefix(), is("nettya"));
219-
assertThat(((XmlElementEnd) temp).namespaces().get(0).uri(), is("http://netty.io/netty/a"));
219+
assertThat(((XmlElementEnd) temp).namespaces().get(0).uri(), is("https://netty.io/netty/a"));
220220

221221
temp = channel.readInbound();
222222
assertThat(temp, nullValue());

codec/src/test/resources/io/netty/handler/codec/xml/sample-04.xml

+4-4
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<version>4.0.14.Final-SNAPSHOT</version>
3030

3131
<name>Netty</name>
32-
<url>http://netty.io/</url>
32+
<url>https://netty.io/</url>
3333
<description>
3434
Netty is an asynchronous event-driven network application framework for
3535
rapid development of maintainable high performance protocol servers and
@@ -38,7 +38,7 @@
3838

3939
<organization>
4040
<name>The Netty Project</name>
41-
<url>http://netty.io/</url>
41+
<url>https://netty.io/</url>
4242
</organization>
4343

4444
<licenses>
@@ -61,9 +61,9 @@
6161
<id>netty.io</id>
6262
<name>The Netty Project Contributors</name>
6363
<email>[email protected]</email>
64-
<url>http://netty.io/</url>
64+
<url>https://netty.io/</url>
6565
<organization>The Netty Project</organization>
66-
<organizationUrl>http://netty.io/</organizationUrl>
66+
<organizationUrl>https://netty.io/</organizationUrl>
6767
</developer>
6868
</developers>
6969

common/src/main/java/io/netty/util/ResourceLeakDetector.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ private void reportLeak() {
316316
protected void reportTracedLeak(String resourceType, String records) {
317317
logger.error(
318318
"LEAK: {}.release() was not called before it's garbage-collected. " +
319-
"See http://netty.io/wiki/reference-counted-objects.html for more information.{}",
319+
"See https://netty.io/wiki/reference-counted-objects.html for more information.{}",
320320
resourceType, records);
321321
}
322322

@@ -329,7 +329,7 @@ protected void reportUntracedLeak(String resourceType) {
329329
"Enable advanced leak reporting to find out where the leak occurred. " +
330330
"To enable advanced leak reporting, " +
331331
"specify the JVM option '-D{}={}' or call {}.setLevel() " +
332-
"See http://netty.io/wiki/reference-counted-objects.html for more information.",
332+
"See https://netty.io/wiki/reference-counted-objects.html for more information.",
333333
resourceType, PROP_LEVEL, Level.ADVANCED.name().toLowerCase(), simpleClassName(this));
334334
}
335335

handler/src/main/java/io/netty/handler/ssl/OpenSsl.java

+6-6
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
import static io.netty.handler.ssl.SslUtils.*;
4545

4646
/**
47-
* Tells if <a href="http://netty.io/wiki/forked-tomcat-native.html">{@code netty-tcnative}</a> and its OpenSSL support
47+
* Tells if <a href="https://netty.io/wiki/forked-tomcat-native.html">{@code netty-tcnative}</a> and its OpenSSL support
4848
* are available.
4949
*/
5050
public final class OpenSsl {
@@ -137,7 +137,7 @@ public final class OpenSsl {
137137
"Failed to load netty-tcnative; " +
138138
OpenSslEngine.class.getSimpleName() + " will be unavailable, unless the " +
139139
"application has already loaded the symbols by some other means. " +
140-
"See http://netty.io/wiki/forked-tomcat-native.html for more information.", t);
140+
"See https://netty.io/wiki/forked-tomcat-native.html for more information.", t);
141141
}
142142

143143
try {
@@ -160,7 +160,7 @@ public final class OpenSsl {
160160
logger.debug(
161161
"Failed to initialize netty-tcnative; " +
162162
OpenSslEngine.class.getSimpleName() + " will be unavailable. " +
163-
"See http://netty.io/wiki/forked-tomcat-native.html for more information.", t);
163+
"See https://netty.io/wiki/forked-tomcat-native.html for more information.", t);
164164
}
165165
}
166166
}
@@ -422,7 +422,7 @@ private static boolean doesSupportProtocol(int protocol, int opt) {
422422

423423
/**
424424
* Returns {@code true} if and only if
425-
* <a href="http://netty.io/wiki/forked-tomcat-native.html">{@code netty-tcnative}</a> and its OpenSSL support
425+
* <a href="https://netty.io/wiki/forked-tomcat-native.html">{@code netty-tcnative}</a> and its OpenSSL support
426426
* are available.
427427
*/
428428
public static boolean isAvailable() {
@@ -461,7 +461,7 @@ public static String versionString() {
461461
}
462462

463463
/**
464-
* Ensure that <a href="http://netty.io/wiki/forked-tomcat-native.html">{@code netty-tcnative}</a> and
464+
* Ensure that <a href="https://netty.io/wiki/forked-tomcat-native.html">{@code netty-tcnative}</a> and
465465
* its OpenSSL support are available.
466466
*
467467
* @throws UnsatisfiedLinkError if unavailable
@@ -475,7 +475,7 @@ public static void ensureAvailability() {
475475

476476
/**
477477
* Returns the cause of unavailability of
478-
* <a href="http://netty.io/wiki/forked-tomcat-native.html">{@code netty-tcnative}</a> and its OpenSSL support.
478+
* <a href="https://netty.io/wiki/forked-tomcat-native.html">{@code netty-tcnative}</a> and its OpenSSL support.
479479
*
480480
* @return the cause if unavailable. {@code null} if available.
481481
*/

handler/src/main/java/io/netty/handler/ssl/PemReader.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ static ByteBuf readPrivateKey(InputStream in) throws KeyException {
126126
Matcher m = KEY_PATTERN.matcher(content);
127127
if (!m.find()) {
128128
throw new KeyException("could not find a PKCS #8 private key in input stream" +
129-
" (see http://netty.io/wiki/sslcontextbuilder-and-private-key.html for more information)");
129+
" (see https://netty.io/wiki/sslcontextbuilder-and-private-key.html for more information)");
130130
}
131131

132132
ByteBuf base64 = Unpooled.copiedBuffer(m.group(1), CharsetUtil.US_ASCII);

microbench/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
## Microbenchmark tests
22

3-
See [our wiki page](http://netty.io/wiki/microbenchmarks.html).
3+
See [our wiki page](https://netty.io/wiki/microbenchmarks.html).
44

pom.xml

+4-4
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<version>4.1.38.Final-SNAPSHOT</version>
3030

3131
<name>Netty</name>
32-
<url>http://netty.io/</url>
32+
<url>https://netty.io/</url>
3333
<description>
3434
Netty is an asynchronous event-driven network application framework for
3535
rapid development of maintainable high performance protocol servers and
@@ -38,7 +38,7 @@
3838

3939
<organization>
4040
<name>The Netty Project</name>
41-
<url>http://netty.io/</url>
41+
<url>https://netty.io/</url>
4242
</organization>
4343

4444
<licenses>
@@ -61,9 +61,9 @@
6161
<id>netty.io</id>
6262
<name>The Netty Project Contributors</name>
6363
<email>[email protected]</email>
64-
<url>http://netty.io/</url>
64+
<url>https://netty.io/</url>
6565
<organization>The Netty Project</organization>
66-
<organizationUrl>http://netty.io/</organizationUrl>
66+
<organizationUrl>https://netty.io/</organizationUrl>
6767
</developer>
6868
</developers>
6969

transport-native-epoll/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Native transport for Linux
22

3-
See [our wiki page](http://netty.io/wiki/native-transports.html).
3+
See [our wiki page](https://netty.io/wiki/native-transports.html).

0 commit comments

Comments
 (0)