Commit Graph

19 Commits

Author SHA1 Message Date
iamqizhao 125950284c separate auth info from normal metadata 2015-08-26 11:30:43 -07:00
iamqizhao 97574c6499 make the test happy 2015-08-24 11:40:40 -07:00
yangzhouhan 676c10ae4d gofmt 2015-08-10 17:42:54 -07:00
yangzhouhan 484e2d96e5 change the metadata datastructure 2015-08-10 16:06:27 -07:00
iamqizhao 766bcab28b an error code revision 2015-07-29 18:28:41 -07:00
iamqizhao 7ee8af59ef rename var 2015-07-24 17:38:26 -07:00
iamqizhao a95e7d874d allow space-delimited application-provided user agent 2015-07-24 17:29:42 -07:00
iamqizhao 20034b3877 Invert User-Agent order so application-provided string comes first 2015-07-24 17:14:26 -07:00
iamqizhao 611d960757 support user-agent and allow users attach their own application user agent string 2015-07-24 11:19:08 -07:00
Peter Edge 7c025e8694 move log package references to grpclog 2015-05-09 11:43:59 +02:00
Peter Edge 101c1e1935 change log package references to grpc/log 2015-05-09 01:16:40 +02:00
iamqizhao b8cfe25c6e bug fix: processing header fields regardless in order to keep HPACK tables consistent 2015-04-14 18:50:32 -07:00
iamqizhao 4214baa3c1 gofmt 2015-03-31 16:46:41 -07:00
iamqizhao 902316edc6 io batching on writing path 2015-03-17 16:05:09 -07:00
iamqizhao 491fdc57f4 change grpc/transport to transport in error messages 2015-02-25 11:21:34 -08:00
iamqizhao ad3b2b5492 :authority is a pseudo-header 2015-02-19 13:25:27 -08:00
Matt T. Proud a720ae6f48 Make error conveyance more idiomatic.
This commit applies two bulk changes to the grpc error reporting
mechanisms:

(1.) Error strings for errors that originate within grpc are prefixed
    with the package name for better clarity for where they originate
    since they could percolate up in the users call chains to the
    originator.

(2.) Errors that are, in fact, singletons have been converted from
    fmt.Errorf to errors.New and assigned as package-level variables.
    This bodes particularly well for enabling API customers to elect to
    handle these errors upon receipt via equality comparison.  This had
    been previous impossible with the original API.

Supplementarily, ``gofmt -w -s=true`` has been run on the repository to
cleanup residual defects, and it has detected and repaired a few.

TEST=Manual go test ./...
2015-02-19 13:17:17 +01:00
David Symonds 416f68f4b3 Update import paths to use the new official location of the Go gRPC package. 2015-02-09 11:46:20 +11:00
David Symonds e71095e0ec Move source files up one level.
The top-level directory in this repository is going to be
the main "grpc" package.
2015-02-09 11:33:38 +11:00