#ifndef	FILE_DESCRIPTOR_H
#define	FILE_DESCRIPTOR_H

#include <io/channel.h>

class FileDescriptor : public Channel {
	LogHandle log_;
protected:
	int fd_;
public:
	FileDescriptor(int);
	~FileDescriptor();

	virtual Action *close(EventCallback *);
	virtual Action *read(size_t, EventCallback *);
	virtual Action *write(Buffer *, EventCallback *);

	virtual bool shutdown(bool, bool)
	{
		return (true);
	}
};

#endif /* !FILE_DESCRIPTOR_H */

#ifndef	FILE_DESCRIPTOR_H
#define	FILE_DESCRIPTOR_H

#include <io/channel.h>

class FileDescriptor : public Channel {
	LogHandle log_;
protected:
	int fd_;
public:
	FileDescriptor(int);
	~FileDescriptor();

	virtual Action *close(EventCallback *);
	virtual Action *read(size_t, EventCallback *);
	virtual Action *write(Buffer *, EventCallback *);

	virtual bool shutdown(bool, bool)
	{
		return (false);
	}
};

#endif /* !FILE_DESCRIPTOR_H */

--- 
+++ 
@@ -17,7 +17,7 @@
 
 	virtual bool shutdown(bool, bool)
 	{
-		return (false);
+		return (true);
 	}
 };
 
Return success rather than failure from shutdown() on FileDescriptor, since it
is entirely immaterial.

