diff --git a/src/gov/nist/javax/sip/parser/NioPipelineParser.java b/src/gov/nist/javax/sip/parser/NioPipelineParser.java index a64e16b11..bc7c1ede4 100644 --- a/src/gov/nist/javax/sip/parser/NioPipelineParser.java +++ b/src/gov/nist/javax/sip/parser/NioPipelineParser.java @@ -219,9 +219,9 @@ private boolean readMessageSipHeaderLines(InputStream inputStream, boolean isPre crlfReceived = false; try { - sipMessageListener.sendSingleCLRF(); + sipMessageListener.sendSingleCRLF(); } catch (Exception e) { - logger.logError("A problem occured while trying to send a single CLRF in response to a double CLRF", e); + logger.logError("A problem occured while trying to send a single CRLF in response to a double CRLF", e); } } else { crlfReceived = true; diff --git a/src/gov/nist/javax/sip/parser/PipelinedMsgParser.java b/src/gov/nist/javax/sip/parser/PipelinedMsgParser.java index a220b552f..74b29109f 100755 --- a/src/gov/nist/javax/sip/parser/PipelinedMsgParser.java +++ b/src/gov/nist/javax/sip/parser/PipelinedMsgParser.java @@ -366,9 +366,9 @@ public void run() { isPreviousLineCRLF = false; try { - sipMessageListener.sendSingleCLRF(); + sipMessageListener.sendSingleCRLF(); } catch (Exception e) { - logger.logError("A problem occured while trying to send a single CLRF in response to a double CLRF", e); + logger.logError("A problem occured while trying to send a single CRLF in response to a double CRLF", e); } continue; } else { diff --git a/src/gov/nist/javax/sip/parser/SIPMessageListener.java b/src/gov/nist/javax/sip/parser/SIPMessageListener.java index 6cb6b2e23..5bc9f29af 100755 --- a/src/gov/nist/javax/sip/parser/SIPMessageListener.java +++ b/src/gov/nist/javax/sip/parser/SIPMessageListener.java @@ -45,7 +45,7 @@ public interface SIPMessageListener extends ParseExceptionListener { */ public void processMessage(SIPMessage msg) throws Exception; - public void sendSingleCLRF() throws Exception; + public void sendSingleCRLF() throws Exception; } /* * $Log: not supported by cvs2svn $ diff --git a/src/gov/nist/javax/sip/stack/ConnectionOrientedMessageChannel.java b/src/gov/nist/javax/sip/stack/ConnectionOrientedMessageChannel.java index e9d20f053..40d2b81a5 100644 --- a/src/gov/nist/javax/sip/stack/ConnectionOrientedMessageChannel.java +++ b/src/gov/nist/javax/sip/stack/ConnectionOrientedMessageChannel.java @@ -602,7 +602,7 @@ public void run() { int nbytes = myClientInputStream.read(msg, 0, bufferSize); // no more bytes to read... if (nbytes == -1) { - hispipe.write("\r\n\r\n".getBytes("UTF-8")); + hispipe.write("\r\n".getBytes("UTF-8")); // send \r\n to allow the pipe to wake up try { if (sipStack.maxConnections != -1) { synchronized (messageProcessor) { @@ -720,9 +720,9 @@ public InetAddress getPeerPacketSourceAddress() { /* * (non-Javadoc) - * @see gov.nist.javax.sip.parser.SIPMessageListener#sendSingleCLRF() + * @see gov.nist.javax.sip.parser.SIPMessageListener#sendSingleCRLF() */ - public void sendSingleCLRF() throws Exception { + public void sendSingleCRLF() throws Exception { lastKeepAliveReceivedTime = System.currentTimeMillis(); if(mySock != null && !mySock.isClosed()) {