Skip to content

Workaround for large body #15

@debugger-zhang

Description

@debugger-zhang

Please note this tool does not works as-is for bodies larger than 64KB. To fix it, add the following lines after https://github.com/ikruglov/slapper/blob/master/slapper.go#L135:

	buf := make([]byte, 0, 64*1024)
	scanner.Buffer(buf, 1024*1024)

The second number should be replaced with the maximum length of body you want to use.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions