Re: [jira] Closed: (DIRMINA-91) BufferUnderflowException while calling ProtocolViolati
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache Directory Project > Re: [jira] Closed: (DIRMINA-91) BufferUnderflowException while calling ProtocolViolati




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Re: [jira] Closed: (DIRMINA-91) BufferUnderflowException while calling ProtocolViolati  
Rodrigo Kumpera


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-21-05 10:45 PM

Wouldn=B4t this cause a resource leak when the exception is uncaught?


On 9/21/05, Trustin Lee (JIRA) <jira-1oDqGaOF3Lkdnm+yROfE0A@public.gmane.org> wrote:
>      [ http://issues.apache.org/jira/brows...A-91?page=3Dall ]
>
> Trustin Lee closed DIRMINA-91:
> ------------------------------
>
>     Resolution: Fixed
>
> I found that IoAdapter don't delay the release of the buffer which caused=
decoding failure.  The buffer will be released immediately when IoAdapter.=
SessionHandlerAdapter.dataRead() method returns regardless ProtocolViolatio=
nException uses it or not.
>
> I fixed this issue by acquiring the buffer once more when I create Protoc=
olViolationException.
> 
ssage()[vbcol=seagreen] 
-------[vbcol=seagreen] 
> 
BufferUnderflowException in my server. It dosn't seem to affect the server =
however.[vbcol=seagreen] 
ava:720)[vbcol=seagreen] 
umper.java:78)[vbcol=seagreen] 
uffer.java:1029)[vbcol=seagreen] 
colViolationException.java:84)[vbcol=seagreen] 
ught(A9MasterProtocolHandler.java:41)[vbcol=seagreen] 
ht(AbstractProtocolFilterChain.java:142)[vbcol=seagreen] 
onCaught(AbstractProtocolFilterChain.java:405)[vbcol=seagreen] 
ractProtocolFilterChain.java:50)[vbcol=seagreen] 
onCaught(AbstractProtocolFilterChain.java:518)[vbcol=seagreen] 
ht(AbstractProtocolFilterChain.java:93)[vbcol=seagreen] 
onCaught(AbstractProtocolFilterChain.java:405)[vbcol=seagreen] 
(AbstractProtocolFilterChain.java:396)[vbcol=seagreen] 
 onCaught(ProtocolSessionManagerFilterCha
in.java:71)[vbcol=seagreen] 
onCaught(AbstractProtocolFilterChain.java:405)[vbcol=seagreen] 
ractProtocolFilterChain.java:50)[vbcol=seagreen] 
onCaught(AbstractProtocolFilterChain.java:518)[vbcol=seagreen] 
t(ProtocolThreadPoolFilter.java:116)[vbcol=seagreen] 
ool.java:393)[vbcol=seagreen] 
33)[vbcol=seagreen]
>
> --
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators:
>    http://issues.apache.org/jira/secur...nistrators.jspa
> -
> For more information on JIRA, see:
>    http://www.atlassian.com/software/jira
>
>






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 07:27 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register