mirror of
https://github.com/buger/goreplay.git
synced 2024-04-21 12:32:02 +00:00
Add more PRO protection
This commit is contained in:
@@ -157,6 +157,9 @@ func CopyMulty(src io.Reader, writers ...io.Writer) error {
|
||||
|
||||
if Settings.splitOutput {
|
||||
if Settings.recognizeTCPSessions {
|
||||
if !PRO {
|
||||
log.Fatal("Detailed TCP sessions work only with PRO license")
|
||||
}
|
||||
hasher := fnv.New32a()
|
||||
// First 20 bytes contain tcp session
|
||||
id := payloadID(payload)
|
||||
|
||||
Reference in New Issue
Block a user