users@grizzly.java.net

Re: Grizzly http client race condition

From: testn <test1_at_doramail.com>
Date: Fri, 5 Jun 2015 13:40:22 -0700 (MST)

the part which is not thread-safe is in GrizzlyConnector.FeedAdapter where
Buffers.wrap(MemoryManager.DEFAULT_MEMORY_MANAGER, b, off, len) is passed to
AsyncWriteQueueRecord without copying it. Do you think
AbstractNIOAsyncQueueWriter.write should copy the record when it needs to
enqueue the record to the queue when it cannot write inline?



--
View this message in context: http://grizzly.1045725.n5.nabble.com/Grizzly-http-client-race-condition-tp5710847p5710878.html
Sent from the Grizzly - Users mailing list archive at Nabble.com.