SORT BY:

LIST ORDER
THREAD
AUTHOR
SUBJECT


SEARCH

IPS HOME


    [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

    RE: iSCSI: large keys during login?



    Yes, you are correct. I was trying to get away with small buffers and I
    didn't notice a change in 4.1.
    
    Eddy
    
    -----Original Message-----
    From: Bill Studenmund [mailto:wrstuden@wasabisystems.com]
    Sent: Friday, May 03, 2002 4:39 PM
    To: Eddy Quicksall
    Cc: 'Julian Satran'; THALER,PAT (A-Roseville,ex1); andy currid;
    ips@ece.cmu.edu; owner-ips@ece.cmu.edu
    Subject: RE: iSCSI: large keys during login?
    
    
    On Fri, 3 May 2002, Eddy Quicksall wrote:
    
    > Regarding the following sentence in 9.10.4, can we say the key and equal
    > sign most not be spanned? The reason I ask for this is because it makes
    the
    > parsing of the key much easier if you don't have it cut into two PDUs.
    
    Wouldn't it just be easier to just read the whole extended text and then
    parse? i.e.
    
    	do {
    		Read_packet(&empty part of buffer)
    		if (packet doesn't end with a NUL) {
    			send response asking for more
    			make sure there's more space in buffer
    		}
    	} while (packet doesn't end with a NUL)
    
    	parse while buffer
    
    Why would you be parsing the text before it has all arrived? Or is it more
    you were going to keep things in different buffers, and don't want to
    fumble with the key spanning buffers?
    
    Take care,
    
    Bill
    


Home

Last updated: Sun May 05 17:18:28 2002
9974 messages in chronological order