summaryrefslogtreecommitdiffstats
path: root/src/server/picohttpparser
diff options
context:
space:
mode:
authorSimon Rettberg2025-10-30 23:31:23 +0100
committerSimon Rettberg2025-12-09 15:33:20 +0100
commit186eecd2417b6937341e6c07b446f991142207d1 (patch)
treee15b482782fad33f9af378657e36a615ecdbf9ab /src/server/picohttpparser
parent[SERVER] iscsi: Refactor receive function and PDU handling (diff)
downloaddnbd3-186eecd2417b6937341e6c07b446f991142207d1.tar.gz
dnbd3-186eecd2417b6937341e6c07b446f991142207d1.tar.xz
dnbd3-186eecd2417b6937341e6c07b446f991142207d1.zip
[SERVER] iscsi: Unify usage of length and position variables
There were a lot of similarly named and redundant variables in various structs named pos, len, xfer_len, des_xfer_pos, etc. It could be very challenging to keep track of what information is stored where when working with the code. Attempt to minimize this by relying only on a single "len" variable in the scsi_task struct. This refactoring uncovered a few inconsistencies in how allocation length limitations were handled, which were addressed here too.
Diffstat (limited to 'src/server/picohttpparser')
0 files changed, 0 insertions, 0 deletions