Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Disabling Direct Buffers in Jetty 9

Hi Greg,

What were the reasons for taking out the direct buffer support? Buggy JDK code?

Thanks :)


On Mon, Sep 16, 2013 at 1:47 AM, Greg Wilkins <gregw@xxxxxxxxxxx> wrote:


currently Jetty-9 does not use direct buffers for protocol for HTTP, but I just noticed that SPDY is using direct buffers.

However this should mostly be transparent to users, why do you wish to control it?

Note that the DefaultServlet has a useFileMappedBuffer option that can be set as a init param and does have a more visible effect (of locking files).


On 14 September 2013 06:01, Nicholas Lun <nlun@xxxxxx> wrote:

In Jetty 8 you could disable the use of Direct Buffers for NIO connectors
via the setUseDirectBuffers(bool) method in the AbstractNIOConnector class.
Is there a way to do this in Jetty 9?

View this message in context:
Sent from the Jetty User mailing list archive at
jetty-users mailing list

Greg Wilkins <gregw@xxxxxxxxxxx>
Developer advice and support from the Jetty & CometD experts.
Intalio, the modern way to build business applications.

jetty-users mailing list

Back to the top