Craig Tiller
6a7626c98f
Move alarm subsystem to monotonic time
10 years ago
David Garcia Quintas
45b477e3f5
Fixed small leak.
10 years ago
David Garcia Quintas
658b6087cc
Added some comments, minot stylistic tweaks
10 years ago
David Garcia Quintas
d317e7570b
Fixes to compression, to be merged back to the appropriate branch.
10 years ago
Craig Tiller
143e7bf0cf
Introduce a clock type field onto gpr_timespec.
...
Use it to validate that arithmetic on time types makes even some vague
kind of sense.
10 years ago
Craig Tiller
b4580d4e0e
Added static where needed
10 years ago
Craig Tiller
1b01167425
Remove magic number
10 years ago
Craig Tiller
396fab25ed
Fix TSAN reported errors
10 years ago
Craig Tiller
12cf537a72
clang-format affected files
10 years ago
Craig Tiller
97fc6a3f3f
Rewrite completion queue internals to use pre-allocation of events
10 years ago
Craig Tiller
f1bff01631
clang-format changed files
10 years ago
Craig Tiller
1a65a234d9
Add metadata refcount debugging
10 years ago
Craig Tiller
cae5bf586f
Structure repacking and sizing
10 years ago
Craig Tiller
f3756c1e0d
Introduce multiple clocks to GPR
10 years ago
Craig Tiller
77f0461e3f
Try harder to return DEADLINE_EXCEEDED when we should
...
Do this by ensuring that the alarm callback has had a chance to run on a
call before returning status to the application.
If we do not do this:
- the server alarm could be scheduled and run
- it will write a RST_STREAM with a status that loses the deadline
exceededness (because that is unexpressable in HTTP2 error codes)
- it will be received by the client and processed
- the client will return an INTERNAL error (the lossy re-encoding of the
server status), and then run its alarm handler to set the status to
something else
10 years ago
David Garcia Quintas
d7d9ce27c5
WIP in *_end2end_test.cc. Tests pass. Fixed leaks and introduced concept of compression request thru MD
10 years ago
Craig Tiller
079a11bb9b
clang-format affected files
10 years ago
Alistair Veitch
fc62dddd1c
add client side census context
10 years ago
David Garcia Quintas
fc0fa3381c
Moar tests, fixed wrongly named vbles, minor bugs.
10 years ago
yang-g
0b6ad7d4bc
Bug fix. Do not push to incoming_queue after it is flushed.
10 years ago
Craig Tiller
e039f03383
Plumbing transport_op changes through
10 years ago
Craig Tiller
b7959a0b36
s/grpc_transport_op/grpc_transport_stream_op/g
10 years ago
David Garcia Quintas
92ce588559
Fixed bad merge.
10 years ago
David Garcia Quintas
d16af0ea52
Redesign of compression algorithm propagation based on metadata
10 years ago
David Garcia Quintas
51cd7d7293
Fixed warning while parsing compression enum bytes.
10 years ago
Craig Tiller
b8d3a31aa7
Always use the first status code received
10 years ago
David Garcia Quintas
5927aec9b7
Added generated configs
10 years ago
David Garcia Quintas
f74a49ed14
WIP. Need to merge and add more tests.
10 years ago
Craig Tiller
9a57633233
clang-format affected files
10 years ago
David Garcia Quintas
db94b276f5
Propagation of compression level to the call.
...
Through the metadata's user data mechanism.
10 years ago
David Garcia Quintas
de52625ae5
Added changes to c++ and ruby wrappers
10 years ago
David Garcia Quintas
1d5aca5de0
Added flags support to grpc_op.
...
Which includes its propagation to grpc_ioreq and validation mechanisms for checking that only known bits are set ot in).
Also added an internal flag (GRPC_WRITE_INTERNAL_COMPRESS) mask for its use in signaling compressed messages.
10 years ago
Craig Tiller
1e6facbfbf
Refactor progress
10 years ago
Craig Tiller
aea081ffb5
Flush pending incoming messages when writing status
...
As a bonus, correctly report was_cancelled when the server writes error
10 years ago
Craig Tiller
f3fba749aa
Ensure we dont destroy a call until it is closed
10 years ago
David Garcia Quintas
59f905d79a
Changes to byte_buffer based on comments.
10 years ago
Craig Tiller
3fc8e82673
Cache commonly used status strings
10 years ago
David Garcia Quintas
25d02d5637
Made grpc_byte_buffer_reader able to decompress msgs.
10 years ago
Masood Malekghassemi
701af6031f
Expose gpr_asprintf and gpr_strdup
10 years ago
Craig Tiller
4efb6966bd
Transport/call flow control interface
...
Allow call objects to advertise how many bytes they are currently
willing to receive.
Update the transport to utilize this data to update flow control
windows.
10 years ago
Craig Tiller
7ae5a38ec0
Fix memory leak
10 years ago
Craig Tiller
09f2bdc847
Fix refcounting bug
10 years ago
Craig Tiller
5dde66ecac
Handle reffing when a cancel or bind gets stuck in the waiting queue
10 years ago
David Garcia Quintas
284488b434
removed managed closures from server.c
10 years ago
David Garcia Quintas
a30020f009
Comments addressed.
10 years ago
David Garcia Quintas
5f228f5001
Adapted the following to the new iomgr's cb API:
...
alarm_test, tcp_posix, fd_posix, pollset_posix, credentials, call,
channel, server, child_channel
10 years ago
Craig Tiller
f9fae98fdb
clang-format
10 years ago
Craig Tiller
9ec2a520ee
Add channel refcount debugging
10 years ago
Craig Tiller
bac414224b
Correctly bind on server side streams
10 years ago
Yu Zhou
a7c106265f
Fix minor bug call GRPC_TIMER_END before return
10 years ago