Skip to content

Commit

Permalink
add msg->fragement handler, main logic of mget-improve is put into pr…
Browse files Browse the repository at this point in the history
…oto/
  • Loading branch information
idning committed Jul 4, 2014
1 parent a1ca201 commit de902c1
Show file tree
Hide file tree
Showing 11 changed files with 563 additions and 648 deletions.
79 changes: 0 additions & 79 deletions scripts/test_mget_mset.py

This file was deleted.

2 changes: 1 addition & 1 deletion src/nc_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ core_send(struct context *ctx, struct conn *conn)

status = conn->send(ctx, conn);
if (status != NC_OK) {
log_debug(LOG_INFO, "send on %c %d failed: status:%d errno: %d %s",
log_debug(LOG_INFO, "send on %c %d failed: status: %d errno: %d %s",
conn->client ? 'c' : (conn->proxy ? 'p' : 's'), conn->sd,
status, errno, strerror(errno));
}
Expand Down
3 changes: 3 additions & 0 deletions src/nc_core.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ struct event_base;
#include <stdbool.h>
#include <inttypes.h>
#include <string.h>
#include <stdio.h>
#include <ctype.h>
#include <errno.h>
#include <limits.h>
#include <time.h>
Expand All @@ -110,6 +112,7 @@ struct event_base;
#include <nc_mbuf.h>
#include <nc_message.h>
#include <nc_connection.h>
#include <nc_server.h>

struct context {
uint32_t id; /* unique context id */
Expand Down
2 changes: 1 addition & 1 deletion src/nc_log.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ struct logger {
#define LOG_VVVERB 10 /* verbose messages on ganga */
#define LOG_PVERB 11 /* periodic verbose messages on crack */

#define LOG_MAX_LEN 512 /* max length of log message */
#define LOG_MAX_LEN 256 /* max length of log message */

/*
* log_stderr - log to stderr
Expand Down
Loading

0 comments on commit de902c1

Please sign in to comment.