Skip to content

jython 2.7.1 limits size of http 'post' #2535

@kasemir

Description

@kasemir

About a month ago jython was updated from 2.7.0 to 2.7.1.
Since then, submitting scans fails when the size of the scan exceeds about 65k.

A display (BOY or Display Builder) that runs a script like this:

file = open("xml")
xml = file.read()
print xml

from scan.client.scanclient import ScanClient
scan_client = ScanClient()
result = scan_client.simulate(xml)

fails when the XML for the scan that it tries to submit exceeds about 65k.
The same script works fine when executed by plain python,
and it also works fine when using jython 2.7.0.

Need to either find the magic configuration parameter for jython 2.7.1 that is causing this limitation, or go back to jython 2.7.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions