##// END OF EJS Templates
chg: downgrade "failed to read channel" from abortmsg to debugmsg...
Jun Wu -
r28551:8e5312f8 default
parent child Browse files
Show More
@@ -106,8 +106,11 b' static void readchannel(hgclient_t *hgc)'
106 assert(hgc);
106 assert(hgc);
107
107
108 ssize_t rsize = recv(hgc->sockfd, &hgc->ctx.ch, sizeof(hgc->ctx.ch), 0);
108 ssize_t rsize = recv(hgc->sockfd, &hgc->ctx.ch, sizeof(hgc->ctx.ch), 0);
109 if (rsize != sizeof(hgc->ctx.ch))
109 if (rsize != sizeof(hgc->ctx.ch)) {
110 abortmsg("failed to read channel");
110 /* server would have exception and traceback would be printed */
111 debugmsg("failed to read channel");
112 exit(255);
113 }
111
114
112 uint32_t datasize_n;
115 uint32_t datasize_n;
113 rsize = recv(hgc->sockfd, &datasize_n, sizeof(datasize_n), 0);
116 rsize = recv(hgc->sockfd, &datasize_n, sizeof(datasize_n), 0);
General Comments 0
You need to be logged in to leave comments. Login now