Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[SignpostServer] Bug fix

Bug fix in HTTP server
  • Loading branch information...
commit 327e45bc8da48f444d8763dacc6ddab9b83581e2 1 parent 3c536b4
Sebastian Probst Eide authored
View
BIN  SignpostDemo.xcworkspace/xcuserdata/spe24.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown
View
2  SignpostDemoServer/SignpostDemoServer/SignpostDemoServerAppDelegate.m
@@ -159,6 +159,8 @@ - (NSData *)dataResponseForHTTPServer:(id)sender
NSNumber *clientLatency = [NSNumber numberWithFloat:cd.clientLatency];
NSNumber *serverLatency = [NSNumber numberWithFloat:cd.serverLatency];
NSNumber *serverJitter = [cf currentJitterForHost:hostid];
+ if (serverJitter == nil)
+ serverJitter = [NSNumber numberWithInt:-1];
NSNumber *clientJitter = [NSNumber numberWithFloat:cd.clientPerceivedJitter];
NSArray *uk = [NSArray arrayWithObjects:@"id", @"downstream-bandwidth", @"upstream-bandwidth", @"latency-as-seen-by-client", @"latency-as-seen-by-server", @"jitter-as-seen-by-server", @"jitter-as-seen-by-client", nil];
Please sign in to comment.
Something went wrong with that request. Please try again.