Craig Tiller
7536af02cf
Eliminate gpr_ int types - and insist on C99 variants instead
9 years ago
Craig Tiller
620e965c1b
clang-format after last weeks test-fest
9 years ago
Craig Tiller
5a640a4b7c
Fix gcc compilation
9 years ago
Craig Tiller
8ab91b29fe
Add test of varint encoding for hpack
9 years ago
Craig Tiller
e62bf9844c
Fix HPACK encoder test
9 years ago
Craig Tiller
b2b4261631
Remove metadata context entirely
9 years ago
Craig Tiller
ebdef9d674
Remove metadata context from the channel stack
9 years ago
Craig Tiller
0e72ede405
Use static metadata table in metadata.c
9 years ago
Craig Tiller
82e249b816
Small fixes
9 years ago
Craig Tiller
575b4200a7
Small fixes
9 years ago
Craig Tiller
e58d817818
casting
9 years ago
Craig Tiller
3c53bb2f46
clang-format
9 years ago
Craig Tiller
856d0948da
Check return values
9 years ago
Craig Tiller
93b944785c
stream_op cleanup: test fixes and updates
9 years ago
Craig Tiller
a82950e683
clang-format all core files
9 years ago
Craig Tiller
45724b35e4
indent pass to get logical source lines on one physical line
9 years ago
Craig Tiller
6a6b36c503
Enable -Wconversion
9 years ago
Craig Tiller
f96dfc3cf8
First round of fixing up implicit 64->32 bit conversions
9 years ago
Craig Tiller
32ca48ce0b
Core compiles with -Wsign-conversion
9 years ago
Craig Tiller
d6c98df792
clang-format all source
9 years ago
Craig Tiller
ddf05a134e
Fix alpn_test
9 years ago
Craig Tiller
58bbc864ba
Updating wrapped languages to new time functions
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
1a65a234d9
Add metadata refcount debugging
10 years ago
Julien Boeuf
da13cd201b
Adding gpr_dump and gpr_hexdump as discussed. Removed gpr_slice_to_cstring as well.
10 years ago
Masood Malekghassemi
701af6031f
Expose gpr_asprintf and gpr_strdup
10 years ago
Craig Tiller
356961916d
Remove all uses of __FUNCTION__
10 years ago
Craig Tiller
6e84aba85f
Make the things compile again
10 years ago
Craig Tiller
5c019ae2d1
clang-format
10 years ago
Craig Tiller
bd22271d00
Random small fixes
10 years ago
Craig Tiller
9c1043e757
Progress towards transport using metadata batches
10 years ago
Craig Tiller
f5065c5b65
Enable asan for C core
...
Also speed up a test, and disable some rarely touched but long running tests
10 years ago
Craig Tiller
8ad8a41a84
Introduce slowdown factor for unit test deadlines
...
Dramatically lowers (eliminates maybe?) false negatives from ?SAN runs.
10 years ago
Craig Tiller
9be83eec1d
Fix use-after-free.
...
Transport and channel have different lifetimes, but share a metadata
context.
Make the metadata context ref counted, and have transport take a ref.
10 years ago
Craig Tiller
190d360def
Add missing new-lines at end of file
10 years ago
Craig Tiller
0605995e55
Update copyright to 2015
10 years ago
Nicolas "Pixel" Noble
213ed91850
Re-enabling errors on warning, disabling unused parameter warning, and fixing all subsequent errors.
10 years ago
Yang Gao
5fd0d29dfe
run clang-format
10 years ago
Craig Tiller
03f75259c5
Remove uses of sprintf
10 years ago
Craig Tiller
28214ea1b2
Remove uses of sprintf
10 years ago
Craig Tiller
9bb2632309
Remove uses of sprintf
10 years ago
Craig Tiller
68cc1afda5
Remove uses of sprintf
10 years ago
Craig Tiller
b7b9c758ed
Add constant for min bufsize for timeout encoding
10 years ago
Craig Tiller
485d77628d
Move string.h to internal code
10 years ago
Craig Tiller
ecd49345b5
Use clang-format-3.5
10 years ago
Craig Tiller
3eef2c4bcb
clang-format
10 years ago
Craig Tiller
32946d37e0
() --> (void)
10 years ago
ctiller
00297df63b
Ensure flow control callbacks happen outside the transport lock.
...
Split encoding into two phases: a collection phase to decide on what is allowed
(by flow control) to be sent, and a framing phase when the data is actually
sent. Perform the second phase outside of the transport mutex (but serially,
guarded by t->writing) and make flow control callbacks during that phase.
This will allow us to make further transport level calls in response to flow
control callbacks, and will be needed by the forthcoming async api for C++.
Change on 2015/01/12 by ctiller <ctiller@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83774409
10 years ago
ctiller
33023c4bac
Binary header encoding.
...
Also fixes a rather embarrassing bug in bin_encoder.c.
Change on 2014/12/12 by ctiller <ctiller@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=82024795
10 years ago
ctiller
48b5a4586a
Advertise h2-16, h2-15, h2-14, and accept any of them.
...
(Fixing the rollback from earlier - we were passing '1' as the protocol count, not num_alpn_protocols)
Change on 2014/12/10 by ctiller <ctiller@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=81783755
10 years ago