mirror of https://github.com/aria2/aria2
				
				
				
			Update wslay
							parent
							
								
									ea6d4240d0
								
							
						
					
					
						commit
						66048398e5
					
				| 
						 | 
				
			
			@ -478,7 +478,7 @@ void wslay_event_config_set_max_recv_msg_length(wslay_event_context_ptr ctx,
 | 
			
		|||
                                                uint64_t val);
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * Sets callbacks to ctx. The callbacks previouly set by this function
 | 
			
		||||
 * Sets callbacks to ctx. The callbacks previously set by this function
 | 
			
		||||
 * or wslay_event_context_server_init() or
 | 
			
		||||
 * wslay_event_context_client_init() are replaced with callbacks.
 | 
			
		||||
 */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -109,7 +109,7 @@ ssize_t wslay_frame_send(wslay_frame_context_ptr ctx,
 | 
			
		|||
    int flags = 0;
 | 
			
		||||
    if (iocb->data_length > 0) {
 | 
			
		||||
      flags |= WSLAY_MSG_MORE;
 | 
			
		||||
    };
 | 
			
		||||
    }
 | 
			
		||||
    r = ctx->callbacks.send_callback(ctx->oheadermark, (size_t)len, flags,
 | 
			
		||||
                                     ctx->user_data);
 | 
			
		||||
    if (r > 0) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue