1
edit
Changes
→Apache Tomcat
From the file '''Shm.java''', the following method is given.
<pre>
public void resetScoreboard int invoke(Msg msg, MsgContext ep ) throws IOException { if( apr==null ) return0; MsgContext mCtx=createMsgContext(); Msg msg=log.debug(Msg)mCtx"ChannelShm.getMsg(0invoke: " + ep ); msgsuper.resetnativeDispatch(); msg.appendByte( SHM_RESET , ep, JK_HANDLE_SHM_DISPATCH, 0 ); this.invoke( msg, mCtx )return 0; }
</pre>
In the ''''Shm14.java'''' file, the method from the base class is overridden with the following new one. Its implementation is different.
<pre>
public void resetScoreboard int invoke(Msg msg, MsgContext ep ) throws IOException { if (log.isDebugEnabled()) log.debug("ChannelShm14.invoke: " + ep ); // XXX Need to write the head return 0; }
</pre>