Skip to content

jadbaz/netty4-write-leak-reproducer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A reproducer for a bug with Netty 4.

To reproduce this bug yourself:

  1. Clone this project
  2. chmod +x gradlew
  3. ./gradlew build
  4. java -jar build/libs/.jar

Program options available:

  1. -Dtest.batch: The number of messages to send before sleep
  2. -Dtest.sleep: The sleep duration in millis after sending 1 batch (test.batch)
  3. -Dtest.length: The length of a single message
  4. -Dtest.random: Generate random strings or not (true/false)
  5. -Dtest.log_time: The log interval in millis
  6. -Dtest.port: The port to run the server

About

Reproduce a leak in Netty 4's writeAndFlush

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages