aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
Commit message (Collapse)AuthorAge
* Stage #1 of core breakup: move everything under libGravatar Craig Tiller2016-03-25
|
* FixesGravatar Craig Tiller2016-03-25
|
* Fix copyrightsGravatar Craig Tiller2016-03-25
|
* Auto-changesGravatar Craig Tiller2016-03-25
|
* Merge pull request #5660 from leifurhauks/py3_test_fixesGravatar Jan Tattermusch2016-03-25
|\ | | | | fixes to tests for py2/3 syntax compatibility
* \ Merge pull request #5953 from jtattermusch/fix_wsaerror_printingGravatar Jan Tattermusch2016-03-25
|\ \ | | | | | | Don't check read_info for writes
| * | dont check read_info for writesGravatar Jan Tattermusch2016-03-25
| | |
* | | Merge pull request #5941 from murgatroid99/node_error_code_compliance_2Gravatar Jan Tattermusch2016-03-24
|\ \ \ | |/ / |/| | Fix Node status code usage to match spec
* | | Merge pull request #5855 from grpc/revert-5724-revert-5607-revert-5544-masterGravatar Jan Tattermusch2016-03-24
|\ \ \ | | | | | | | | Revert for good "Pass a non-infinite deadline to grpc_completion_queue_next() to prevent queues from blocking indefinitely in poll()"
* \ \ \ Merge pull request #5837 from sreecha/grpc_fixit_nodeGravatar Jan Tattermusch2016-03-24
|\ \ \ \ | | | | | | | | | | DocFixit: Troubleshooting info for Windows and some minor tweaks
| | | | * fixes to tests for py2/3 syntax compatibilityGravatar Leifur Halldor Asgeirsson2016-03-23
| |_|_|/ |/| | |
* | | | Merge pull request #5942 from sreecha/fix_copyrightGravatar Nicolas Noble2016-03-23
|\ \ \ \ | | | | | | | | | | Fix copyright for metrics.proto
* \ \ \ \ Merge pull request #5920 from yang-g/ipv6Gravatar Jan Tattermusch2016-03-23
|\ \ \ \ \ | | | | | | | | | | | | Fix failure handling code
* \ \ \ \ \ Merge pull request #5909 from vjpai/make_building_great_againGravatar Jan Tattermusch2016-03-23
|\ \ \ \ \ \ | | | | | | | | | | | | | | Fix some issues in building under certain configurations
* \ \ \ \ \ \ Merge pull request #5916 from ↵Gravatar Jan Tattermusch2016-03-23
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | leifurhauks/py3_str_bytes_in_links_service_and_beta_server Python 3: fix a bytes/str runtime issue
| | | | * | | | fix copyrightGravatar Sree Kuchibhotla2016-03-23
| |_|_|/ / / / |/| | | | | |
| | | | | | * Fix Node status code usage to match specGravatar murgatroid992016-03-23
| |_|_|_|_|/ |/| | | | |
| | | | * | Fix the link again: Third time's a charm!Gravatar Sree Kuchibhotla2016-03-23
| | | | | |
* | | | | | Merge pull request #5921 from sreecha/stress_client_specGravatar David G. Quintas2016-03-23
|\ \ \ \ \ \ | | | | | | | | | | | | | | Specification for stress test clients
* \ \ \ \ \ \ Merge pull request #5383 from miselin/add_request_parsingGravatar Jan Tattermusch2016-03-23
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Add HTTP request parsing
* \ \ \ \ \ \ \ Merge pull request #5897 from ctiller/fix_timeGravatar Jan Tattermusch2016-03-23
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Fix timeout decoding logic for times that become infinite
* \ \ \ \ \ \ \ \ Merge pull request #5657 from leifurhauks/py3_generated_codeGravatar Jan Tattermusch2016-03-23
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | python 2/3 compatible abstract servicers/stubs
* \ \ \ \ \ \ \ \ \ Merge pull request #5368 from leifurhauks/py3_test_compatGravatar Jan Tattermusch2016-03-23
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | Python: py3 compatibility for test runner & loader
| | | | | | | | | * | Try fixing the link againGravatar Sree Kuchibhotla2016-03-23
| | | | | | | | | | |
| | | | | | | | | * | Fix broken linkGravatar Sree Kuchibhotla2016-03-23
| | | | | | | | | | |
| | | | | | | | | * | Address review feedbackGravatar Sree Kuchibhotla2016-03-23
| | | | | | | | | | |
| | | | | * | | | | | Address code review commentsGravatar Sree Kuchibhotla2016-03-23
| | | | | | | | | | |
| | | | | | | | * | | resolve commentsGravatar yang-g2016-03-23
| | | | | | | | | | |
* | | | | | | | | | | Merge pull request #5755 from ahedberg/unix_sockets_optionalGravatar Jan Tattermusch2016-03-23
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Make unix sockets optional
* \ \ \ \ \ \ \ \ \ \ \ Merge pull request #5914 from thought-machine/fix_slow_string_readGravatar Jan Tattermusch2016-03-22
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / / / / / |/| | | | | | | | | | | Make grpc-python ByteBuffer.bytes() linear
| | | | | | * | | | | | Add HTTP request parsing.Gravatar Matthew Iselin2016-03-23
| |_|_|_|_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
| | | | | | * | | | | Python 3: fix a bytes/str runtime issueGravatar Leifur Halldor Asgeirsson2016-03-22
| |_|_|_|_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.)
| | | | | | | * | | Fix failure handling codeGravatar yang-g2016-03-22
| | | | | | | | | |
* | | | | | | | | | Merge pull request #5899 from dgquintas/uchannels_kthxbaiGravatar Jan Tattermusch2016-03-22
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | removed uchannels
* \ \ \ \ \ \ \ \ \ \ Merge pull request #5733 from ctiller/dns_backoffGravatar Jan Tattermusch2016-03-22
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Exponential backoff for DNS retries
* \ \ \ \ \ \ \ \ \ \ \ Merge pull request #5896 from vjpai/i_know_freelistsGravatar Jan Tattermusch2016-03-22
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|/ / / |/| | | | | | | | | | | Lock the FD when initializing it out of the freelist
| | | | | * | | | | | | fix include guard for unix_sockets_posixGravatar ahedberg2016-03-22
| | | | | | | | | | | |
| | | | | * | | | | | | more style fixesGravatar ahedberg2016-03-22
| | | | | | | | | | | |
| | | | | * | | | | | | include sockaddr.h in unix_sockets_posix.h for platform compatibilityGravatar ahedberg2016-03-22
| | | | | | | | | | | |
* | | | | | | | | | | | Merge pull request #5893 from nicolasnoble/objc-finish-handlerGravatar makdharma2016-03-22
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | For GRPCOperation's, ensure finish _handler can only be called once
| | | | | | * | | | | | | fix copyright dates and style issuesGravatar ahedberg2016-03-22
| | | | | | | | | | | | |
| | | | | * | | | | | | | Make grpc-python ByteBuffer.bytes() linear cost.Gravatar alex2016-03-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | | | | | * | | | | | | fix compilation errorsGravatar ahedberg2016-03-22
| | | | | | | | | | | | |
| | | | | | * | | | | | | prefix external linkage functions with grpcGravatar ahedberg2016-03-22
| | | | | | | | | | | | |
* | | | | | | | | | | | | Merge pull request #4679 from nicolasnoble/codegen-pathsGravatar Yang Gao2016-03-22
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / / / / / |/| | | | | | | | | | | | Letting the user override the code generation a bit.
| | | | | | | | | | * | | Fix a missing include in UDP_SERVER code andGravatar vjpai2016-03-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | do some typecasts for stronger warning-protection in channel stack builder calls
* | | | | | | | | | | | | Merge pull request #5870 from dgquintas/fix_staticGravatar Jan Tattermusch2016-03-21
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add identity to static metadata accept-encodings bitmasks
* \ \ \ \ \ \ \ \ \ \ \ \ \ Merge pull request #5898 from vjpai/log_wallGravatar Jan Tattermusch2016-03-21
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove a spammy log
* \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge pull request #5744 from murgatroid99/ruby_gc_mark_credentials_callbackGravatar Jan Tattermusch2016-03-21
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Properly mark proc used in call credentials for garbage collection
* \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge pull request #5490 from murgatroid99/ruby_call_credentials_log_errorGravatar Jan Tattermusch2016-03-21
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add error output for failed ruby credentials plugin