Commit f86a1ad0 authored by Gary Wong's avatar Gary Wong

Try sending the entire manifest to the client, even if it's really big.

Will this trivial fix really fix "geni-get manifest"?  If so, I
should have done it long ago!
parent e92964e7
......@@ -12475,7 +12475,7 @@ static char *getgeniuseremail( tmcdreq_t *reqp ) {
static char *getgenimanifest( tmcdreq_t *reqp ) {
MYSQL_RES *res;
char buf[ MAXTMCDPACKET ];
char *buf;
res = mydb_query( "SELECT m.manifest FROM `geni-cm`.geni_slivers AS s, "
"`geni-cm`.geni_manifests AS m WHERE "
......@@ -12491,15 +12491,16 @@ static char *getgenimanifest( tmcdreq_t *reqp ) {
if( mysql_num_rows( res ) ) {
MYSQL_ROW row = mysql_fetch_row( res );
GOUTPUT( buf, sizeof buf, "%s", row[ 0 ] );
}
buf = strdup( row[ 0 ] );
} else
buf = strdup( "" );
mysql_free_result( res );
if( verbose )
info( "%s: geni_slice_urn: %s", reqp->nodeid, buf );
return strdup( buf );
return buf;
}
static char *getgenicert( tmcdreq_t *reqp ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment