Jan Tattermusch
f1050f6f4a
Merge pull request #5755 from ahedberg/unix_sockets_optional
...
Make unix sockets optional
9 years ago
Craig Tiller
9498bb1bb1
Reorder asserts to avoid TSAN failure
9 years ago
Jan Tattermusch
e3af44e2e9
Merge pull request #5914 from thought-machine/fix_slow_string_read
...
Make grpc-python ByteBuffer.bytes() linear
9 years ago
Matthew Iselin
1824f0519f
Add HTTP request parsing.
...
This extends the existing http parser to support requests as well as responses.
httpcli continues to exist and work as it has previously, though in the new
directory src/core/http (to reflect the fact the directory now contains code
relevant to parsing requests, which httpcli would not generally involve itself
in).
9 years ago
Leifur Halldor Asgeirsson
b9501bcb0b
Python 3: fix a bytes/str runtime issue
...
On python3, in grpc._links.service._Kernel._on_service_acceptance_event,
there is a runtime TypeError:
```
_on_service_acceptance_event
group, method = service_acceptance.method.split('/')[1:3]
TypeError: 'str' does not support the buffer interface
```
It is fixed by using a bytes literal (`b'/'`) instead of a string literal.
This exposed another issue in grpc.beta._server where an exception was being
raised with a bytes literal for a message (a string should be used instead.)
9 years ago
Sree Kuchibhotla
be09541112
Specification for stress test clients
9 years ago
yang-g
6346041a25
Fix failure handling code
9 years ago
murgatroid99
27b8d900bc
Add option to use old client method argument order for now
9 years ago
Jan Tattermusch
39fd22193b
Merge pull request #5899 from dgquintas/uchannels_kthxbai
...
removed uchannels
9 years ago
Jan Tattermusch
2b0d66caa0
Merge pull request #5823 from VcamX/patch-2
...
Fix typo in GSoC ideas page
9 years ago
Jan Tattermusch
fe279af7e6
Merge pull request #5733 from ctiller/dns_backoff
...
Exponential backoff for DNS retries
9 years ago
Jan Tattermusch
3271dbc311
Merge pull request #5896 from vjpai/i_know_freelists
...
Lock the FD when initializing it out of the freelist
9 years ago
ahedberg
6753ae0cd7
fix include guard for unix_sockets_posix
9 years ago
ahedberg
3811dc78a8
more style fixes
9 years ago
ahedberg
879ce77cb6
include sockaddr.h in unix_sockets_posix.h for platform compatibility
9 years ago
makdharma
a814c7dd9c
Merge pull request #5893 from nicolasnoble/objc-finish-handler
...
For GRPCOperation's, ensure finish _handler can only be called once
9 years ago
Jan Tattermusch
e04d83656b
Merge pull request #5910 from ctiller/temporary_reprieve
...
Mark mlog_test as flaky
9 years ago
ahedberg
8afb88de66
fix copyright dates and style issues
9 years ago
alex
ce37938255
Make grpc-python ByteBuffer.bytes() linear cost.
...
Currently ByteBuffer.bytes() reads from the underlying grpc byte_buffer
a slice at a time, and appends each to a Python string (bytes). In
Python strings are immutable, so appending creates a new string by
copying the previous data. This means the current implementation is
quadratic.
The effect is very noticeable when messages have repeated (or large)
string fields. We traced execution between two services and observed
that when the payload size approached 600kb, the receiving service took
~10s at full CPU to read a response that had taken fractions of a second
the send over the network.
This commit changes ByteBuffer.bytes() to use an intermediate bytearray,
instead of strings, for the in-progress bytes. Once all slices are
read, the buffer is converted to a string.
9 years ago
ahedberg
799fd4bda6
fix compilation errors
9 years ago
ahedberg
fcbcbff290
prefix external linkage functions with grpc
9 years ago
Yang Gao
8615b7b9d4
Merge pull request #4679 from nicolasnoble/codegen-paths
...
Letting the user override the code generation a bit.
9 years ago
Craig Tiller
a5abbd2c03
Mark mlog_test as flaky
9 years ago
vjpai
e7077b5c96
Fix a missing include in UDP_SERVER code and
...
do some typecasts for stronger warning-protection
in channel stack builder calls
9 years ago
murgatroid99
ffdeda123e
Fixed copyright
9 years ago
Jan Tattermusch
04961a0922
Merge pull request #5863 from dgquintas/includes_namespaces
...
Ensure that no #includes are inside of a namespace.
9 years ago
Jan Tattermusch
c5a4cef66b
Merge pull request #5865 from ctiller/clang_complete
...
Support clang_complete based editor plugins
9 years ago
Jan Tattermusch
bf7df7dcf8
Merge pull request #5870 from dgquintas/fix_static
...
Add identity to static metadata accept-encodings bitmasks
9 years ago
Jan Tattermusch
84ffe2bab6
Merge pull request #5898 from vjpai/log_wall
...
Remove a spammy log
9 years ago
Jan Tattermusch
6586599dc8
Merge pull request #5744 from murgatroid99/ruby_gc_mark_credentials_callback
...
Properly mark proc used in call credentials for garbage collection
9 years ago
Jan Tattermusch
bbb1d1053a
Merge pull request #5659 from leifurhauks/py3_examples
...
python3-compatible syntax for python examples
9 years ago
Jan Tattermusch
c6b1a71fc2
Merge pull request #5490 from murgatroid99/ruby_call_credentials_log_error
...
Add error output for failed ruby credentials plugin
9 years ago
Jan Tattermusch
795a50fc71
Merge pull request #5417 from ctiller/fix_something
...
Add extra error detail for pipe creation failure
9 years ago
Jan Tattermusch
9168181755
Merge pull request #5771 from murgatroid99/node_metadata_plugin_event_loop_fix
...
Node: made call credentials properly use UV async events. Also deleted some log lines
9 years ago
Nicolas Noble
029ecca5e5
Merge pull request #5832 from vjpai/make_udp_server_test_great_again
...
Add needed include for udp_server_test
9 years ago
Jan Tattermusch
86eece8c05
Merge pull request #5797 from ctiller/win2
...
Make stack traces show up in run_tests.py logs
9 years ago
adelez
2fa7c9682b
Merge pull request #5903 from sreecha/stress_test_gke_readme
...
Add troubleshooting instructions
9 years ago
sreek
6fa333a5e6
Add troubleshooting instructions
9 years ago
Nicolas Noble
62dcaa2635
Merge pull request #5650 from leifurhauks/py3_iteritems
...
replace uses of iteritems with six.iteritems
9 years ago
Nicolas Noble
19e1ea400d
Merge pull request #5585 from stanley-cheung/update-manifest-md
...
Doc Fixit: Update MANIFEST.md
9 years ago
murgatroid99
9a0c74116f
Follow Node's callback-last convention for client calls
9 years ago
David Garcia Quintas
fb349b9f71
removed uchannels
9 years ago
Nicolas "Pixel" Noble
6bda8497b8
Fixing copyrights.
9 years ago
Nicolas "Pixel" Noble
33e2d3bfed
Merge branch 'master' of https://github.com/grpc/grpc into codegen-paths
9 years ago
vjpai
3abc651db1
Remove a spammy log
9 years ago
Craig Tiller
e07c368861
Update test
9 years ago
vjpai
c6993428c2
Lock the FD when initializing it out of the freelist.
9 years ago
Craig Tiller
d262454b98
Fix time encoding
9 years ago
Nicolas "Pixel" Noble
702243698c
For GRPCOperation's, ensure finish _handler can only be called once, and release it when called, so weak ptrs needn't be used with it, and the call won't be released until the finish handler is called.
...
When the connectivityMonitor determines the connection has been lost, pull the host disconnect call. Creates an unreliable connection when connectivity is restored. Calling finishWithError: is sufficient.
9 years ago
Craig Tiller
f29d1f7799
Update clang-format to 3.8
9 years ago