Commits
- Commit:
f9d8661b68f61636701e3320cafaf5853db70123
- From:
- Omar Polo <op@omarpolo.com>
- Date:
report the correct write length
- Commit:
c234caae8bdf0b2be5ee26fee87f0fcbf0d95488
- From:
- Omar Polo <op@omarpolo.com>
- Date:
limit IMSG_BUF_CONT size by the maximum allowed by imsg
- Commit:
02d5b425514494dff976f6ddedb6bf5514213cc1
- From:
- Omar Polo <op@omarpolo.com>
- Date:
do optimal (i.e. maximum) reads and writes
- Commit:
1610d4872387cb3e06ec718fc70ddab17fa23bc8
- From:
- Omar Polo <op@omarpolo.com>
- Date:
cmd_ls: fix read size
don't use a constant: msize may be lower than that. Instead, use `msize
- 4' which is guaranteed to be the maximum transferreable size.
(it's not possible for msize to be lower than 4 since we reject
ridiculously small msizes, so that difference can't underflow.)
- Commit:
315eafe8807c0b6bf7a0a3d2ae072cbb6fa6392a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
reject ridiculously small msizes
- Commit:
72d6dda035661e415f012a516efcfdc26e108c51
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fflush stdout in hexdump
- Commit:
66926cfc3a240fee6da318457f40e62cc246fdc9
- From:
- Omar Polo <op@omarpolo.com>
- Date:
allow jumbo reads
- Commit:
23fbe390bd2006b2da54d7ed1fdd5e9615e58d4b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
allow Tread to fill a message
a message of `msize' len is valid, we just need to make sure to _not_
overflow it.
- Commit:
a9eb1af3d081c65f002dfa7e3cde71e3cc23e963
- From:
- Omar Polo <op@omarpolo.com>
- Date:
allow jumbo Twrites for real
- Commit:
bc8e3a24b7f12ac92c95e9f098986e15c7198918
- From:
- Omar Polo <op@omarpolo.com>
- Date:
typo
- Commit:
aced1a379c025362ec03b54b013ea950603ebc92
- From:
- Omar Polo <op@omarpolo.com>
- Date:
sync changelog
- Commit:
fbeaf87b54479383a77dc1fc41318bb788267154
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fail on "jumbo" requests (except for Twrite)
except for Twrite, all other requests are passed via a single imsg.
We don't handle "jumbo" request for anything outside Twrite, nor it
does make sense actually, so let's drop it.
(well, for Twstat an argument can be made, maybe)
- Commit:
182b48dc821a0a4cf7bbcfcdf5f9d376136fd7e6
- From:
- Omar Polo <op@omarpolo.com>
- Date:
proper err handling for parse_message
- Commit:
8b0a506230428aaacefd78995955e80f058d9c9d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
allow Twrite with size bigger than ~16K
Until now I've been using a single imsg to handle each messages and
the imsg framework has a limit of around 16K for message. For almost
all requests, this is fine.
Except for Twrite and Tread.
This is an attempt to make Twrite handle bigger buffers. The listener
process just looks at how big a request is and split it up in multiple
messages and the client process tries to remember the fid, position
and missing data to continue the write. This means that a single
Twrite can be split up in multiple write(2)s.
- Commit:
c23dcc663854db7ecbfb882d85d7e2356b4fd355
- From:
- Omar Polo <op@omarpolo.com>
- Date:
sync changelog