Skip to content

Commit

Permalink
Change the netty.io homepage scheme(http -> https) (netty#9344)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jingene authored and normanmaurer committed Jul 9, 2019
1 parent bded2a1 commit c0f9364
Show file tree
Hide file tree
Showing 21 changed files with 72 additions and 68 deletions.
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Please review the [guidelines for contributing](http://netty.io/wiki/developer-guide.html) for this repository.
Please review the [guidelines for contributing](https://netty.io/wiki/developer-guide.html) for this repository.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,5 @@ My system has IPv6 disabled.

## How to contribute your work

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

2 changes: 1 addition & 1 deletion NOTICE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Please visit the Netty web site for more information:

* http://netty.io/
* https://netty.io/

Copyright 2014 The Netty Project

Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@ Netty is an asynchronous event-driven network application framework for rapid de

## Links

* [Web Site](http://netty.io/)
* [Downloads](http://netty.io/downloads.html)
* [Documentation](http://netty.io/wiki/)
* [Web Site](https://netty.io/)
* [Downloads](https://netty.io/downloads.html)
* [Documentation](https://netty.io/wiki/)
* [@netty_project](https://twitter.com/netty_project)

## How to build

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.
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.

You require the following to build Netty:

* Latest stable [Oracle JDK 7](http://www.oracle.com/technetwork/java/)
* Latest stable [Apache Maven](http://maven.apache.org/)
* 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.
* 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.

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.

Expand Down
8 changes: 4 additions & 4 deletions bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@

<name>Netty/BOM</name>
<description>Netty (Bill of Materials)</description>
<url>http://netty.io/</url>
<url>https://netty.io/</url>

<organization>
<name>The Netty Project</name>
<url>http://netty.io/</url>
<url>https://netty.io/</url>
</organization>

<licenses>
Expand All @@ -57,9 +57,9 @@
<id>netty.io</id>
<name>The Netty Project Contributors</name>
<email>[email protected]</email>
<url>http://netty.io/</url>
<url>https://netty.io/</url>
<organization>The Netty Project</organization>
<organizationUrl>http://netty.io/</organizationUrl>
<organizationUrl>https://netty.io/</organizationUrl>
</developer>
</developers>

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

/**
* <p>
* Performs server side opening and closing handshakes for <a href="http://netty.io/s/rfc6455">RFC 6455</a>
* (originally web socket specification <a href="http://netty.io/s/ws-17">draft-ietf-hybi-thewebsocketprotocol-17</a>).
* Performs server side opening and closing handshakes for <a href="https://netty.io/s/rfc6455">RFC 6455</a>
* (originally web socket specification <a href="https://netty.io/s/ws-17">draft-ietf-hybi-thewebsocketprotocol-17</a>).
* </p>
*/
public class WebSocketServerHandshaker13 extends WebSocketServerHandshaker {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
* This package supports different web socket specification versions (hence the X suffix).
* The specification current supported are:
* <ul>
* <li><a href="http://netty.io/s/ws-00">draft-ietf-hybi-thewebsocketprotocol-00</a></li>
* <li><a href="http://netty.io/s/ws-07">draft-ietf-hybi-thewebsocketprotocol-07</a></li>
* <li><a href="http://netty.io/s/ws-10">draft-ietf-hybi-thewebsocketprotocol-10</a></li>
* <li><a href="http://netty.io/s/rfc6455">RFC 6455</a>
* (originally <a href="http://netty.io/s/ws-17">draft-ietf-hybi-thewebsocketprotocol-17</a>)</li>
* <li><a href="https://netty.io/s/ws-00">draft-ietf-hybi-thewebsocketprotocol-00</a></li>
* <li><a href="https://netty.io/s/ws-07">draft-ietf-hybi-thewebsocketprotocol-07</a></li>
* <li><a href="https://netty.io/s/ws-10">draft-ietf-hybi-thewebsocketprotocol-10</a></li>
* <li><a href="https://netty.io/s/rfc6455">RFC 6455</a>
* (originally <a href="https://netty.io/s/ws-17">draft-ietf-hybi-thewebsocketprotocol-17</a>)</li>
* </ul>
* </p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
* reference counted objects (e.g. {@link ByteBuf}s). The frame codec will call {@link ReferenceCounted#retain()} before
* propagating a reference counted object through the pipeline, and thus an application handler needs to release such
* an object after having consumed it. For more information on reference counting take a look at
* http://netty.io/wiki/reference-counted-objects.html
* https://netty.io/wiki/reference-counted-objects.html
*
* <h3>HTTP Upgrade</h3>
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
* reference counted objects (e.g. {@link ByteBuf}s). The multiplex codec will call {@link ReferenceCounted#retain()}
* before propagating a reference counted object through the pipeline, and thus an application handler needs to release
* such an object after having consumed it. For more information on reference counting take a look at
* http://netty.io/wiki/reference-counted-objects.html
* https://netty.io/wiki/reference-counted-objects.html
*
* <h3>Channel Events</h3>
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
* reference counted objects (e.g. {@link ByteBuf}s). The multiplex codec will call {@link ReferenceCounted#retain()}
* before propagating a reference counted object through the pipeline, and thus an application handler needs to release
* such an object after having consumed it. For more information on reference counting take a look at
* http://netty.io/wiki/reference-counted-objects.html
* https://netty.io/wiki/reference-counted-objects.html
*
* <h3>Channel Events</h3>
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ public class XmlDecoderTest {
"<!DOCTYPE employee SYSTEM \"employee.dtd\">" +
"<?xml-stylesheet type=\"text/css\" href=\"netty.css\"?>" +
"<?xml-test ?>" +
"<employee xmlns:nettya=\"http://netty.io/netty/a\">" +
"<employee xmlns:nettya=\"https://netty.io/netty/a\">" +
"<nettya:id>&plusmn;1</nettya:id>\n" +
"<name ";

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

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

temp = channel.readInbound();
assertThat(temp, instanceOf(XmlElementStart.class));
assertThat(((XmlElementStart) temp).name(), is("id"));
assertThat(((XmlElementStart) temp).prefix(), is("nettya"));
assertThat(((XmlElementStart) temp).namespace(), is("http://netty.io/netty/a"));
assertThat(((XmlElementStart) temp).namespace(), is("https://netty.io/netty/a"));
assertThat(((XmlElementStart) temp).attributes().size(), is(0));
assertThat(((XmlElementStart) temp).namespaces().size(), is(0));

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

temp = channel.readInbound();
assertThat(temp, instanceOf(XmlCharacters.class));
Expand Down Expand Up @@ -171,15 +171,15 @@ public void shouldDecodeRequestWithSimpleXml() {
assertThat(temp, instanceOf(XmlElementStart.class));
assertThat(((XmlElementStart) temp).name(), is("salary"));
assertThat(((XmlElementStart) temp).prefix(), is("nettyb"));
assertThat(((XmlElementStart) temp).namespace(), is("http://netty.io/netty/b"));
assertThat(((XmlElementStart) temp).namespace(), is("https://netty.io/netty/b"));
assertThat(((XmlElementStart) temp).attributes().size(), is(1));
assertThat(((XmlElementStart) temp).attributes().get(0).name(), is("period"));
assertThat(((XmlElementStart) temp).attributes().get(0).value(), is("weekly"));
assertThat(((XmlElementStart) temp).attributes().get(0).prefix(), is("nettyb"));
assertThat(((XmlElementStart) temp).attributes().get(0).namespace(), is("http://netty.io/netty/b"));
assertThat(((XmlElementStart) temp).attributes().get(0).namespace(), is("https://netty.io/netty/b"));
assertThat(((XmlElementStart) temp).namespaces().size(), is(1));
assertThat(((XmlElementStart) temp).namespaces().get(0).prefix(), is("nettyb"));
assertThat(((XmlElementStart) temp).namespaces().get(0).uri(), is("http://netty.io/netty/b"));
assertThat(((XmlElementStart) temp).namespaces().get(0).uri(), is("https://netty.io/netty/b"));

temp = channel.readInbound();
assertThat(temp, instanceOf(XmlCharacters.class));
Expand All @@ -189,10 +189,10 @@ public void shouldDecodeRequestWithSimpleXml() {
assertThat(temp, instanceOf(XmlElementEnd.class));
assertThat(((XmlElementEnd) temp).name(), is("salary"));
assertThat(((XmlElementEnd) temp).prefix(), is("nettyb"));
assertThat(((XmlElementEnd) temp).namespace(), is("http://netty.io/netty/b"));
assertThat(((XmlElementEnd) temp).namespace(), is("https://netty.io/netty/b"));
assertThat(((XmlElementEnd) temp).namespaces().size(), is(1));
assertThat(((XmlElementEnd) temp).namespaces().get(0).prefix(), is("nettyb"));
assertThat(((XmlElementEnd) temp).namespaces().get(0).uri(), is("http://netty.io/netty/b"));
assertThat(((XmlElementEnd) temp).namespaces().get(0).uri(), is("https://netty.io/netty/b"));

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

temp = channel.readInbound();
assertThat(temp, nullValue());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<version>4.0.14.Final-SNAPSHOT</version>

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

<organization>
<name>The Netty Project</name>
<url>http://netty.io/</url>
<url>https://netty.io/</url>
</organization>

<licenses>
Expand All @@ -61,9 +61,9 @@
<id>netty.io</id>
<name>The Netty Project Contributors</name>
<email>[email protected]</email>
<url>http://netty.io/</url>
<url>https://netty.io/</url>
<organization>The Netty Project</organization>
<organizationUrl>http://netty.io/</organizationUrl>
<organizationUrl>https://netty.io/</organizationUrl>
</developer>
</developers>

Expand Down
4 changes: 2 additions & 2 deletions common/src/main/java/io/netty/util/ResourceLeakDetector.java
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ private void reportLeak() {
protected void reportTracedLeak(String resourceType, String records) {
logger.error(
"LEAK: {}.release() was not called before it's garbage-collected. " +
"See http://netty.io/wiki/reference-counted-objects.html for more information.{}",
"See https://netty.io/wiki/reference-counted-objects.html for more information.{}",
resourceType, records);
}

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

Expand Down
12 changes: 6 additions & 6 deletions handler/src/main/java/io/netty/handler/ssl/OpenSsl.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
import static io.netty.handler.ssl.SslUtils.*;

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

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

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

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

/**
* Returns the cause of unavailability of
* <a href="http://netty.io/wiki/forked-tomcat-native.html">{@code netty-tcnative}</a> and its OpenSSL support.
* <a href="https://netty.io/wiki/forked-tomcat-native.html">{@code netty-tcnative}</a> and its OpenSSL support.
*
* @return the cause if unavailable. {@code null} if available.
*/
Expand Down
2 changes: 1 addition & 1 deletion handler/src/main/java/io/netty/handler/ssl/PemReader.java
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ static ByteBuf readPrivateKey(InputStream in) throws KeyException {
Matcher m = KEY_PATTERN.matcher(content);
if (!m.find()) {
throw new KeyException("could not find a PKCS #8 private key in input stream" +
" (see http://netty.io/wiki/sslcontextbuilder-and-private-key.html for more information)");
" (see https://netty.io/wiki/sslcontextbuilder-and-private-key.html for more information)");
}

ByteBuf base64 = Unpooled.copiedBuffer(m.group(1), CharsetUtil.US_ASCII);
Expand Down
2 changes: 1 addition & 1 deletion microbench/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Microbenchmark tests

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

8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<version>4.1.38.Final-SNAPSHOT</version>

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

<organization>
<name>The Netty Project</name>
<url>http://netty.io/</url>
<url>https://netty.io/</url>
</organization>

<licenses>
Expand All @@ -61,9 +61,9 @@
<id>netty.io</id>
<name>The Netty Project Contributors</name>
<email>[email protected]</email>
<url>http://netty.io/</url>
<url>https://netty.io/</url>
<organization>The Netty Project</organization>
<organizationUrl>http://netty.io/</organizationUrl>
<organizationUrl>https://netty.io/</organizationUrl>
</developer>
</developers>

Expand Down
2 changes: 1 addition & 1 deletion transport-native-epoll/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Native transport for Linux

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

0 comments on commit c0f9364

Please sign in to comment.