recorded some TODO items in the comment
This commit is contained in:
		@ -989,3 +989,15 @@ mio_dns_msg_t* mio_svc_dnc_resolve (mio_svc_dnc_t* dnc, const mio_bch_t* qname,
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
	return reqmsg;
 | 
						return reqmsg;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/* TODO: upon startup, read /etc/hosts. setup inotify or find a way to detect file changes..
 | 
				
			||||||
 | 
					 *       in resolve, add an option to use entries from /etc/hosts */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/* TODO: afxr client ... */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/* TODO: trace function to do its own recursive resolution?... 
 | 
				
			||||||
 | 
					mio_dns_msg_t* mio_svc_dnc_trace (mio_svc_dnc_t* dnc, const mio_bch_t* qname, mio_dns_rrt_t qtype, int resolve_flags, mio_svc_dnc_on_resolve_t on_resolve, mio_oow_t xtnsize)
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					*/
 | 
				
			||||||
 | 
				
			|||||||
@ -749,7 +749,7 @@ static int do_ssl (mio_dev_sck_t* dev, int (*ssl_func)(SSL*))
 | 
				
			|||||||
		ret = 1; /* accepted */
 | 
							ret = 1; /* accepted */
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (mio_dev_watch ((mio_dev_t*)dev, watcher_cmd, watcher_events) <= -1)
 | 
						if (mio_dev_watch((mio_dev_t*)dev, watcher_cmd, watcher_events) <= -1)
 | 
				
			||||||
	{
 | 
						{
 | 
				
			||||||
		mio_stop (mio, MIO_STOPREQ_WATCHER_ERROR);
 | 
							mio_stop (mio, MIO_STOPREQ_WATCHER_ERROR);
 | 
				
			||||||
		ret = -1;
 | 
							ret = -1;
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user