commit | 44c7f988191b9461b9ececffa746b45785a3c6fa | [log] [tgz] |
---|---|---|
author | Bogdan Caprita <caprita@google.com> | Mon Sep 14 14:39:05 2015 -0700 |
committer | Bogdan Caprita <caprita@google.com> | Mon Sep 14 14:39:05 2015 -0700 |
tree | ed261459ee326a297fa4ad6754b4dd918d5cb597 | |
parent | 15a2b019cda6a1b83329a2d53f94c1af207250f9 [diff] |
services/agent/internal/server: check for socket file path length test/modules/shell: shorten the path to the dir holding agent sockets A long socket path is rejected when trying to listen. The error is murky, and it's not immediately clear to the client what's wrong. This change adds an explicit check in the agent to ensure the socket path is of an acceptable length, and return an informative error if not. One of the places where the socket path occasionally ends up being too long is in integration tests. This change shaves off ~20 characters to help keep it short. Change-Id: I60c25c9a14ad0f8c7e81c5f5a5abbc090ab7f7e2
This repository contains a reference implementation of the Vanadium APIs.
Unlike the APIs in https://github.com/vanadium/go.v23, which promises to provide backward compatibility this repository makes no such promises.