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


Nicholas,

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).

cheers



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

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: http://jetty.4.x6.nabble.com/Disabling-Direct-Buffers-in-Jetty-9-tp4961201.html
Sent from the Jetty User mailing list archive at Nabble.com.
_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-users



--
Greg Wilkins <gregw@xxxxxxxxxxx>
http://www.webtide.com
Developer advice and support from the Jetty & CometD experts.
Intalio, the modern way to build business applications.

Back to the top