[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: protocol: unrecognized protocolOp tag



Kurt D. Zeilenga writes:
>At 07:12 AM 1/3/2004, Hallvard B Furuseth wrote:
>>[Protocol] 4.1.1 (Message Envelope) says:
>>
>>   If (...) tag of the protocolOp is not recognized as a request, (...)
>>   then the server SHOULD return the Notice of Disconnection
>>   described in Section 4.4.1, with the resultCode set to protocolError,
>>   and MUST immediately close the connection.
>>
>> In this case, I think it would be more useful if the server gave a
>> normal protocolError response and kept the connection open.  That
>> way, a client could test for the existence of a message type
>> extension simply by trying to use it.
> 
> How is the server to know what the normal response (assuming there
> is one) to the unrecognized request PDU is?

Duh.. forget that idea.

(Even after your answer, it took me a while to realize that
protocolError comes _inside_ the 'normal response' to the request:-)

-- 
Hallvard