The length is passed so the protocol handlers neither need to parse nor even 
understand BLR.  If every transmission layer had to understand BLR, extending 
it would be next to impossible.

Efficiency is part and parcel of good design.




> On Aug 13, 2014, at 4:21 PM, Mark Rotteveel <m...@lawinegevaar.nl> wrote:
> 
>> On 13-8-2014 12:43, Adriano dos Santos Fernandes wrote:
>> The problem is not BLR, but the parameters.
>> 
>> In theory, we could just change the parameters from short to int, as
>> short are always passed as int.
>> 
>> I don't know why nobody even tried to do this. Maybe because the inner
>> layers (of < 3.0) was not prepared.
> 
> Theoretically, the message length parameters could be ignored, and 
> instead the blr could be reparsed to obtain the length. Efficient: no, 
> possible: yes, a good idea: probably not ;)
> 
> Mark
> -- 
> Mark Rotteveel
> 
> ------------------------------------------------------------------------------
> Firebird-Devel mailing list, web interface at 
> https://lists.sourceforge.net/lists/listinfo/firebird-devel

------------------------------------------------------------------------------
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to