Skip to content
Netty project - an event-driven asynchronous network application framework http://netty.io/
Java C Shell Groovy Protocol Buffer C++
Find file
Latest commit 691bc16 @Scottmitch Scottmitch ByteBufUtil.writeUtf8 not consistent with String.getBytes(Charset)
Motivation:
f750d6e added support for surrogates in the writeUtf8 conversion. However exceptions are thrown if invalid input is detected, but the JDK (and slow path of writeUtf8) uses a replacement character and does not throw. We should behave the same way.

Modificiations:
- Don't throw in ByteBufUtil.writeUtf8, and instead use a replacement character consistent with the JDK

Result:
ByteBufUtil.writeUtf8 behavior is consistent with the JDK UTF_8 conversion.
Failed to load latest commit information.
all [maven-release-plugin] prepare for next development iteration
buffer ByteBufUtil.writeUtf8 not consistent with String.getBytes(Charset)
codec-dns [maven-release-plugin] prepare for next development iteration
codec-haproxy [maven-release-plugin] prepare for next development iteration
codec-http HttpObjectDecoder configurable initial buffer size
codec-http2 HTTP/2 RST_STREAM Regression f990f99
codec-memcache ByteBuf for Key instead of String for codec-memcache
codec-mqtt [maven-release-plugin] prepare for next development iteration
codec-socks [maven-release-plugin] prepare for next development iteration
codec-stomp [maven-release-plugin] prepare for next development iteration
codec-xml [maven-release-plugin] prepare for next development iteration
codec [#4793] Correctly add newlines when encode base64
common Add unescapeCsv to StringUtil
example ByteBuf for Key instead of String for codec-memcache
handler-proxy [maven-release-plugin] prepare for next development iteration
handler Allow InputStreams for key/trust managers in SslContextBuilder
license added support for Protobuf codec nano runtime
microbench [maven-release-plugin] prepare for next development iteration
resolver-dns [maven-release-plugin] prepare for next development iteration
resolver [#4834] Fix race in AddressResolverGroup
tarball [maven-release-plugin] prepare for next development iteration
testsuite-osgi [maven-release-plugin] prepare for next development iteration
testsuite [maven-release-plugin] prepare for next development iteration
transport-native-epoll Remove invalid return
transport-rxtx [maven-release-plugin] prepare for next development iteration
transport-sctp [maven-release-plugin] prepare for next development iteration
transport-udt [maven-release-plugin] prepare for next development iteration
transport Expose Helper to obtain the "best" mac address.
.fbprefs Updated Find Bugs configuration
.gitignore Add JVM crash logs to .gitignore
.travis.yml Travis CI branch whitelisting
CONTRIBUTING.md Move the pull request guide to the developer guide
LICENSE.txt Relicensed to Apache License v2
NOTICE.txt added support for Protobuf codec nano runtime
README.md Fix the 'branches to look' section
pom.xml Add maven profile to run tests with -Dio.netty.noUnsafe=true
run-example.sh Add HTTP/2 Netty tiles example

README.md

Netty Project

Netty is an asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers & clients.

Links

How to build

For the detailed information about building and developing Netty, please visit the developer guide. This page only gives very basic information.

You require the following to build Netty:

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.

Branches to look

The 'master' branch is where the development of the latest major version lives on. The development of all other versions takes place in each branch whose name is identical to <majorVersion>.<minorVersion>. For example, the development of 3.9 and 4.0 resides in the branch '3.9' and the branch '4.0' respectively.

Something went wrong with that request. Please try again.